TreeListBand.Visible Property

Specifies whether the current band is visible.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

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

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.

Implements

DevExpress.XtraTreeList.Internal.IHeaderObject.Visible
See Also