Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NavBarControl.AllowSelectDisabledItem Property

Gets or sets a value that specifies whether disabled items are allowed to be selected. This is a dependency property.

Namespace: DevExpress.Xpf.NavBar

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

NuGet Package: DevExpress.Wpf.NavBar

#Declaration

public bool AllowSelectDisabledItem { get; set; }

#Property Value

Type Description
Boolean

true if disabled items can be selected; otherwise, false.

#Remarks

If item selection is enabled (the NavBarControl.AllowSelectItem property is set to true), end-users can select items by clicking them. Selected items have their NavBarItem.IsSelected property set to true. By default, only enabled items can be selected - those whose DXFrameworkContentElement.IsEnabled property is true. Use the AllowSelectDisabledItem property to control whether disabled items can also be selected within the NavBarControl.

See Also