Skip to main content

TcxGridBandPosition.BandIndex Property

Specifies the parent band of the current band.

Declaration

property BandIndex: Integer read; write; default -1;

Property Value

Type
Integer

Remarks

Use the BandIndex property to designate the parent band which will display the current band. The BandIndex property addresses the parent band by its index in the View’s Bands collection. To specify the horizontal position of a band within a View or parent band, you need to set the ColIndex property.

If you set the BandIndex property to -1, the band will be a root band.

See Also