Export (0) Print
Expand All

ComboBox.PreferredHeight Property

Gets the preferred height of the ComboBox.

[Visual Basic]
Public ReadOnly Property PreferredHeight As Integer
[C#]
public int PreferredHeight {get;}
[C++]
public: __property int get_PreferredHeight();
[JScript]
public function get PreferredHeight() : int;

Property Value

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

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ComboBox Class | ComboBox Members | System.Windows.Forms Namespace

Show:
© 2014 Microsoft