Skip to main content

ItemAddingEventArgs(NavBarItem, Object) Constructor

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

Namespace: DevExpress.Xpf.NavBar

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

NuGet Package: DevExpress.Wpf.NavBar

Declaration

public ItemAddingEventArgs(
    NavBarItem item,
    object sourceObject
)

Parameters

Name Type Description
item NavBarItem

A NavBarItem object representing the item related to the event.

sourceObject Object

The data item object that supplies data for the NavBar item being added.

Remarks

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

See Also