Skip to main content

TcxTreeListColumn.Width Property

Specifies the column width, in pixels.

Declaration

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