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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.NavBar, DevExpress.Wpf.Navigation

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.

See Also