Edit

Share via


ComboBox.DropDownHeight Property

Definition

Gets or sets the height in pixels of the drop-down portion of the 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

Property Value

The height, in pixels, of the drop-down box.

Attributes

Exceptions

The specified value is less than one.

Remarks

Setting the DropDownHeight property resets the IntegralHeight property to false.

Applies to