Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridBand.VisibleRootIndex Property

Returns the root band’s horizontal position from amongst the View’s root bands which are visible within a View.

#Declaration

Delphi
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.

See Also