NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ComboBox.ItemHeight

Returns the height of an item in the combo box. When drawMode is Normal or OwnerDrawFixed, all items have the same height. When drawMode is OwnerDrawVariable, this method returns the height that will be given to new items added to the combo box. To determine the actual height of an item, use the GetItemHeight() method with an integer parameter.

[Visual Basic]
Public Property ItemHeight As Integer
[C#]
public int ItemHeight {get; set;}
[C++]
public: __property int get_ItemHeight();
public: __property void set_ItemHeight(int);
[JScript]
public function get ItemHeight() : int;
public function set ItemHeight(int);

Property Value

The height, in pixels, of an item in the combo box.

See Also

ComboBox Class | ComboBox Members | System.WinForms Namespace