Skip to main content
Bar

BarSubItemLink.CanVisible Property

Gets whether the current link can be displayed.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public override bool CanVisible { get; }

Property Value

Type Description
Boolean

true if the current link can be displayed; otherwise, false.

Remarks

In certain situations, the current item cannot be displayed even if the BarItemLink.Visible property is set to true. For instance, this can take place if the sub-menu does not contain any items and the BarSubItem.HideWhenEmpty property is set to true. The CanVisible property returns whether the current link can be displayed.

See Also