Skip to main content

TreeListBand.Visible Property

Specifies whether the current band is visible.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v23.2.dll

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

Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
[XtraSerializablePropertyId(3)]
public bool Visible { get; set; }

Property Value

Type Default Description
Boolean true

true if the current band is visible; otherwise, false.

Remarks

If a band is hidden (the Visible property is set to false), the band is not displayed within the TreeList control. In this case, its header is displayed within the Customization Form if the band’s OptionsBand.ShowInCustomizationForm and the TreeList‘s OptionsCustomization.ShowBandsInCustomizationForm options are enabled.

The band Visible property’s value is propagated to all bands’ child bands and columns. So, there are situations when the band can be hidden regardless of its Visible property. This occurs when one of the band’s parents is invisible. The actual band visibility is specified by the TreeListBand.ActualVisible property.

See Also