PreferredHeight Property

ComboBox.PreferredHeight Property


Gets the preferred height of the ComboBox.

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

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
© 2015 Microsoft