TreeListBand.Visible Property

Specifies whether the current band is visible.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll


public bool Visible { get; set; }
Public Property Visible As Boolean

Property Value

Type Default Description


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


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