Skip to main content
A newer version of this page is available. .

NavBarItem.IsEnabled Property

Gets or sets whether this NavBarItem is currently enabled.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v18.2.dll

Declaration

[Browsable(true)]
public bool IsEnabled { get; set; }

Property Value

Type Description
Boolean

true, if this NavBarItem is currently enabled; otherwise, false.

Remarks

Disabled NavBarItems remain visible but cannot be selected at runtime. To hide a specific item, use the NavBarItem.IsVisible property instead.

The NavBarGroup.IsEnabled property specifies the availability of the entire NavBarGroup. If the NavBarGroup.IsEnabled property equals false, setting the IsEnabled property to true will not enable specific items within this group.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsEnabled property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also