TcxGridBand.VisibleRootIndex Property
Returns the root band’s horizontal position from amongst the View’s root bands which are visible within a View.
Declaration
property VisibleRootIndex: Integer read;
Property Value
Type |
---|
Integer |
Remarks
Use the VisibleRootIndex property to obtain the current root band’s horizontal position within the collection of the View’s root bands which are visible in the View. This collection can be accessed via the Bands.VisibleRootItems property. To access all the root bands within a View, see Bands.RootItems. Unlike the RootIndex property, this property addresses the root bands which are visible in a View.
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.