Skip to main content
Bar

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

BarSubItemLink.CanVisible Property

Gets whether the current link can be displayed.

Namespace: DevExpress.XtraBars

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