Back to Devexpress

GridBand.VisibleIndex Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-gridband-7dcdeec3.md

latest2.1 KB
Original Source

GridBand.VisibleIndex Property

Gets the band’s visual position within its owner (within a parent band or, for root bands, within a View).

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(-1)]
public virtual int VisibleIndex { get; set; }
vb
<Browsable(False)>
<DefaultValue(-1)>
Public Overridable Property VisibleIndex As Integer

Property Value

TypeDefaultDescription
Int32-1

A zero-based integer value specifying the band’s visual position. -1 if the band is invisible.

|

Remarks

To hide and then restore a band, use the GridBand.Visible property. To move a band to a specific position, use the GridBandCollection.MoveTo method.

See Also

Visible

ReallyVisible

MoveTo(Int32, GridBand)

GridBand Class

GridBand Members

DevExpress.XtraGrid.Views.BandedGrid Namespace