wpf-devexpress-dot-xpf-dot-navbar-dot-navbarcontrol-de1c6038.md
Gets or sets a value specifying whether each group can have a selected item. This is a dependency property.
Namespace : DevExpress.Xpf.NavBar
Assembly : DevExpress.Xpf.NavBar.v25.2.dll
NuGet Package : DevExpress.Wpf.NavBar
public bool EachGroupHasSelectedItem { get; set; }
Public Property EachGroupHasSelectedItem As Boolean
| Type | Description |
|---|---|
| Boolean |
true if each group can have a selected item; otherwise, false.
|
The default behavior of the NavBarControl is to deselect all items in each group when an item is selected. Set the EachGroupHasSelectedItem property to true , to deselect only the current group items when an item is selected. In such an instance, each group can have a single selected item within it at one time. A group’s selected item can be determined via the NavBarGroup.SelectedItem (NavBarGroup.SelectedItemIndex) property.
Note that the NavBarControl.AllowSelectItem property value must be set to true , in order to allow item selection.
See the Clicking and Selecting Items topic to learn more.
See Also