CheckedListBox.ItemHeight プロパティ

定義

項目領域の高さを取得します。

public:
 virtual property int ItemHeight { int get(); void set(int value); };
[System.ComponentModel.Browsable(false)]
public override int ItemHeight { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.ItemHeight : int with get, set
Public Overrides Property ItemHeight As Integer

プロパティ値

項目領域の高さ (ピクセル単位)。

属性

注釈

この測定値は、フォントの高さと小さな余白に基づいて、項目の周囲に空白を表示します。

フォントを 9.75 ポイントの Arial に変更すると、"g" や "y" などの文字のエクステンダーが正しく表示されません。 これを修正するには、 から CheckedListBox クラスを派生させ、 をオーバーライドして を返しますItemHeightbase.ItemHeight+2

適用対象