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)

[BrowsableAttribute(true)]
public int DropDownHeight { get; set; }

Property Value

Type: System.Int32

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

Exception Condition
ArgumentException

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
Show:
© 2016 Microsoft