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

TcxTreeListOptionsCustomizing.ColumnHorzSizing Property

Specifies whether end-users can horizontally resize columns by dragging their right edges.

#Declaration

Delphi
property ColumnHorzSizing: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

Set this property to False, to prohibit end-users from horizontally resizing columns. To prevent a particular column from being resized by end-users, set its Options.Sizing property to False.

To horizontally resize a column in code, use the column’s Width property.

Changing a column’s width fires the TreeList control’s OnColumnSizeChanged, OnLayoutChanged, and OnChange events.

To enable instant visualization of column sizing, set the OptionsCustomizing.DynamicSizing property to True.

The default value of the ColumnHorzSizing property is True.

See Also