ComboBox.DropDownHeight Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Property DropDownHeight As Integer

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: