Skip to main content

TcxGridBand.Width Property

Specifies the band’s width, in pixels.

Declaration

property Width: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

Use this property to adjust the band’s width. Resizing a band automatically resizes all its columns. The band’s minimum width is comprised of the minimum widths of all its columns. End-users can resize bands by clicking and dragging the band header’s vertical edge.

The capability to resize the band is determined by the Options.Sizing and the Banded Table View’s OptionsCustomize.BandSizing properties.

The Width property automatically updates by multiplying its current value by the DPI-aware form’s scaling factor every time it changes.

The default value of the Width property is 0.

See Also