ComboBox.DropDownHeight 屬性

定義

取得或設定 ComboBox 下拉部分的高度 (以像素為單位)。

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

屬性值

下拉式方塊的高度 (單位為像素)。

屬性

例外狀況

指定的值小於 1。

備註

DropDownHeight將 屬性設定為 IntegralHeightfalse

適用於