TcxGridBand.RootIndex Property
Specifies the band’s position among the View’s root bands.
Declaration
property RootIndex: Integer read; write;
Property Value
Type |
---|
Integer |
Remarks
Use the RootIndex property to specify the current band’s horizontal position within the collection of the View’s root bands. The collection can be accessed via the Bands.RootItems property. To access all visible root bands within a View, see Bands.VisibleRootItems.
The RootIndex property is applicable to root bands only. For all other bands, this property returns -1.
End-users can change a band’s position by clicking the band header and dragging it to the required position. Moving bands can be restricted by setting the Band.Options.Moving or the BandedTableView.OptionsCustomize.BandMoving properties to False.
See Also