TcxTreeListColumn.DisplayWidth Property
Specifies the column’s width on screen, in pixels.
Declaration
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