NavBarLinkEventHandler Delegate
Represents the method that will handle events which require a link as the parameter.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
sender | Object | An object representing the source of the event. |
e | NavBarLinkEventArgs | A NavBarLinkEventArgs object that contains event data. |
Remarks
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