Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NavBarItemSelectingEventArgs(NavBarGroup, NavBarItem, NavBarGroup, NavBarItem) Constructor

Initializes a new instance of the NavBarItemSelectingEventArgs class with the specified settings.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v24.2.dll

NuGet Package: DevExpress.Wpf.NavBar

#Declaration

public NavBarItemSelectingEventArgs(
    NavBarGroup prevGroup,
    NavBarItem prevItem,
    NavBarGroup newGroup,
    NavBarItem newItem
)

#Parameters

Name Type Description
prevGroup NavBarGroup

A NavBarGroup object that represents the group containing the previously selected item.

prevItem NavBarItem

A NavBarItem object that represents the previously selected item.

newGroup NavBarGroup

A NavBarGroup object that represents the group containing the item that is going to be selected.

newItem NavBarItem

A NavBarItem object representing the item that is going to be selected.

#Remarks

Instances of the NavBarItemSelectingEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also