Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListBand.Visible Property

Specifies whether the current band is visible.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.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