DataGridBoolColumn.GetPreferredHeight(Graphics, Object) メソッド

定義

列のサイズを変更するときに使用する高さを取得します。

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

パラメーター

g
Graphics

画面に描画する Graphics

value
Object

画面に描画する値を含む Object

返品

列内のセルのサイズを自動的に変更するために使用する高さ。

適用対象

こちらもご覧ください