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

TcxCustomTreeView.ItemHeight Property

Specifies the height of items (in pixels) in the tree view.

#Declaration

Delphi
property ItemHeight: Integer read; write; default -1;

#Property Value

Type
Integer

#Remarks

A value of -1 indicates that the height is determined automatically based upon font settings.

The images below show the same tree view control with the ItemHeight property set to -1 and 22. Note how this affects the vertical offset between items at different levels.

The default value of the ItemHeight property is -1.

See Also