DropDownHeight Property

ComboBox.DropDownHeight Property


Gets or sets the height in pixels of the drop-down portion of the ComboBox.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public int DropDownHeight { get; set; }

Property Value

Type: System.Int32

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

Exception Condition

The specified value is less than one.

Setting the DropDownHeight property resets the IntegralHeight property to false.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft