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.v20.2.dll

Declaration

public NavBarItemSelectingEventArgs(
    NavBarGroup prevGroup,
    NavBarItem prevItem,
    NavBarGroup newGroup,
    NavBarItem newItem
)
Public Sub New(
    prevGroup As NavBarGroup,
    prevItem As NavBarItem,
    newGroup As NavBarGroup,
    newItem As NavBarItem
)

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