Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxListBox.ItemHeight Property

Specifies the height of items in pixels.

#Declaration

Delphi
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