NavBarItemSelectingEventArgs.PrevGroup Property
Gets the group containing the previously selected item.
Namespace: DevExpress.Xpf.NavBar
Assembly: DevExpress.Xpf.NavBar.v24.2.dll
NuGet Package: DevExpress.Wpf.NavBar
Declaration
Property Value
Type | Description |
---|---|
NavBarGroup | A NavBarGroup object representing the group where the previously selected item is contained. |
Remarks
In single item selection mode (the NavBarControl.AllowSelectItem property is set to true and the NavBarControl.EachGroupHasSelectedItem property is set to false), the PrevGroup property identifies the group that contains an item that was selected within the NavBarControl before the NavBarViewBase.ItemSelecting event occurs.
In multi-selection mode (both the NavBarControl.AllowSelectItem property and NavBarControl.EachGroupHasSelectedItem properties are true), the PrevGroup property returns the same value as the NavBarItemSelectingEventArgs.NewGroup property. It identifies the group whose item has been clicked to become selected. You can use the NavBarItemSelectingEventArgs.PrevItem property to obtain the previously selected item within this group.