Skip to main content

NavBarItemLink.Visible Property

Gets or sets a value specifying whether the link is visible.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public bool Visible { get; set; }

Property Value

Type Description
Boolean

true if the link is visible; otherwise false.

Remarks

The value returned by this property depends on the NavElement.Visible property of the corresponding item. The corresponding item is obtained via the NavBarItemLink.Item property.

If the item’s NavElement.Visible property is false, the Visible property also returns false. Thus, the link is invisible in such a case. If the item’s NavElement.Visible property value is true and true is assigned to the Visible property, the link becomes visible.

See Also