Skip to main content
Bar

BarItemLink.CanVisible Property

Gets a value indicating whether the link can be visible.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public virtual bool CanVisible { get; }

Property Value

Type Description
Boolean

true if the link can be visible; otherwise false.

Remarks

You can control the visibility of a link via the BarItemLink.Visible property. In certain situations, however, the link cannot be displayed even if this property value is true. For instance, this can take place when the owning bar is oriented vertically and the BarItem.VisibleWhenVertical property of the item returns false. In such cases, the CanVisible property returns false. The BarItem.Visibility property value is taken into account together with the bar orientation when the CanVisible property value is obtained.

The CanVisible property is used internally. In most cases you will have no need to use it in applications.

See Also