PreferredHeight Property

ComboBox.PreferredHeight Property

Gets the preferred height of the ComboBox.

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

Property Value

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.


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

© 2015 Microsoft