DataGridBoolColumn.GetPreferredHeight(Graphics, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
它會得到調整欄位大小時使用的高度。
protected public:
override int GetPreferredHeight(System::Drawing::Graphics ^ g, System::Object ^ value);
protected internal override int GetPreferredHeight(System.Drawing.Graphics g, object value);
override this.GetPreferredHeight : System.Drawing.Graphics * obj -> int
Protected Friend Overrides Function GetPreferredHeight (g As Graphics, value As Object) As Integer
參數
傳回
高度用於自動調整欄位中儲存格大小。