Skip to main content

TcxListBox.ItemHeight Property

Specifies the height of items in pixels.

Declaration

property ItemHeight;

Property Value

Type
Integer

Remarks

If the ListStyle property is set to lbStandard, the height of items in the list box is determined by the font applied to them. (Use the Style property to access the style settings of the control.) If the ListStyle property value is lbOwnerDrawVariable, the height of items is specified via handling the OnMeasureItem event.

In all cases except listed above, the ItemHeight property specifies the height of items within the list box control. The image below displays list box controls with a ListStyle property lbOwnerDrawFixed and the ItemHeight property 16 and 30 respectively.

See Also