ComboBox.PreferredHeight 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 the preferred height of the ComboBox.

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

[BrowsableAttribute(false)]
public int PreferredHeight { get; }

Property Value

Type: System.Int32

The preferred height, in pixels, of the item area of the combo box.

The preferred height is a value based on the font height and an adjustment for the border.

.NET Framework
Available since 1.1
Return to top
Show: