BarItemLink.CanVisible Property

Gets a value indicating whether the link can be visible.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll


public virtual bool CanVisible { get; }

Property Value

Type Description

true if the link can be visible; otherwise false.


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