Skip to main content

TcxTreeListOptionsCustomizing.BandHorzSizing Property

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

Declaration

property BandHorzSizing: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

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

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

Changing a band’s width fires the TreeList control’s OnBandSizeChanged, OnLayoutChanged, and OnChange events.

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

Note

Resizing a band resizes all its visible columns proportionally to their display widths.

The default value of the BandHorzSizing property is True.

See Also