NavBarLinkEventHandler Delegate

Represents the method that will handle events which require a link as the parameter.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v21.2.dll


public delegate void NavBarLinkEventHandler(
    object sender,
    NavBarLinkEventArgs e


Name Type Description
sender Object

An object representing the source of the event.

e NavBarLinkEventArgs

A NavBarLinkEventArgs object that contains event data.


This method is used to handle the NavBarControl.LinkClicked, NavBarControl.LinkPressed, NavBarItem.LinkClicked, NavBarItem.LinkPressed and NavBarControl.HotTrackedLinkChanged events.

When you create a NavBarLinkEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

See Also