Back to Devexpress

GridBand.Visible Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-gridband-dc3a5c1b.md

latest2.9 KB
Original Source

GridBand.Visible Property

Gets or sets whether the band is visible.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
[XtraSerializablePropertyId(3)]
public virtual bool Visible { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(True)>
<XtraSerializableProperty>
<XtraSerializablePropertyId(3)>
Public Overridable Property Visible As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the band is visible; otherwise, false.

|

Remarks

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

VisibleIndex

ReallyVisible

GridBand Class

GridBand Members

DevExpress.XtraGrid.Views.BandedGrid Namespace