Skip to main content

NavBarLinkEventArgs(NavBarItemLink) Constructor

Creates an instance of the NavBarLinkEventArgs class.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public NavBarLinkEventArgs(
    NavBarItemLink link
)

Parameters

Name Type Description
link NavBarItemLink

A NavBarItemLink object for which an event is raised.

Remarks

The constructor assigns the parameter value to the NavBarLinkEventArgs.Link property.

NavBarLinkEventArgs objects are not designed to be created directly from your code. An instance of this class is created automatically each time the NavBarControl.LinkPressed, NavBarControl.LinkClicked, NavBarItem.LinkPressed, NavBarItem.LinkClicked or NavBarControl.HotTrackedLinkChanged event fires.

See Also