GridBand.Visible Property

Gets or sets whether the band is visible.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v21.2.dll


public virtual bool Visible { get; set; }

Property Value

Type Default Description


true if the band is visible; otherwise, false.


If the Visible property is set to true, the band may be visible within the View. The GridBand.VisibleIndex property specifies its visual position within the owning band.

If set to false, the band is not displayed within the View. In this case, its header is displayed within the Customization Form if the band’s OptionsBand.ShowInCustomizationForm option and the View’s BandedGridOptionsCustomization.ShowBandsInCustomizationForm options are enabled. Note that the hidden band’s child bands’ and columns’ headers are not displayed within the Customization Form.

Note that a band is invisible regardless of its GridBand.Visible property value if its parent band’s GridBand.Visible property is set to false. The GridBand.ReallyVisible property can be used to determine the band’s actual visibility.

See Also