NavBarControl.EachGroupHasSelectedItem Property
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.v24.2.dll
NuGet Package: DevExpress.Wpf.NavBar
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if each group can have a selected item; otherwise false. |
Remarks
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.