次の方法で共有


ComboBox.PreferredHeight プロパティ

ComboBox の適切な高さを取得します。

Public ReadOnly Property PreferredHeight As Integer
[C#]
public int PreferredHeight {get;}
[C++]
public: __property int get_PreferredHeight();
[JScript]
public function get PreferredHeight() : int;

プロパティ値

コンボ ボックスの項目領域の適切な高さ (ピクセル単位)。

解説

適切な高さとは、フォントの高さと境界の調整に基づいた値です。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

ComboBox クラス | ComboBox メンバ | System.Windows.Forms 名前空間