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.Width Property

Specifies the column width, in pixels.

#Declaration

Delphi
property Width: Integer read; write;

#Property Value

Type
Integer

#Remarks

Use this property to set the custom column width that cannot be less than the MinWidth property value. The column automatically adjusts its width on a screen to display all data cells without the horizontal scrollbar if the control’s OptionsView.ColumnAutoWidth property is set to True.

The Width property automatically updates by multiplying its current value by the form’s scaling factor every time it changes at design-time or runtime.

To restore the column’s default MinWidth and Width property values, call the RestoreWidths procedure.

The default value of the Width property is specified by the cxTreeListDefWidth global constant.

See Also