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

TcxTreeListColumn.DisplayWidth Property

Specifies the column’s width on screen, in pixels.

#Declaration

Delphi
property DisplayWidth: Integer read; write;

#Property Value

Type
Integer

#Remarks

The property value is determined by the IndentWidth and MinWidth property values. The return value may differ from the Width property value, which simply returns the width assigned programmatically, or at design time. You can use the DisplayWidth property to override the column’s display width, when it’s calculated automatically – either by assigning an owner band’s Width property or enabling the TreeList control’s OptionsView.ColumnAutoWidth option.

Note

The DisplayWidth property returns 0 if the column is currently hidden within the TreeList control.

See Also