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!

ListBox.ItemHeight

Returns the height of an item in an owner-draw list box. When drawMode is 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 list 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 list box.

See Also

ListBox Class | ListBox Members | System.WinForms Namespace