Back to Devexpress

NavBarControl.AllowSelectDisabledItem Property

wpf-devexpress-dot-xpf-dot-navbar-dot-navbarcontrol-73a1908f.md

latest2.0 KB
Original Source

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public bool AllowSelectDisabledItem { get; set; }
vb
Public Property AllowSelectDisabledItem As Boolean

Property Value

TypeDescription
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

NavBarControl.SelectedItem

NavBarGroup.SelectedItem

SelectedItems

NavBarControl Class

NavBarControl Members

DevExpress.Xpf.NavBar Namespace