Skip to main content

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