windowsforms-devexpress-dot-xtranavbar-65201b52.md
Represents the method that will handle events which require a link as the parameter.
Namespace : DevExpress.XtraNavBar
Assembly : DevExpress.XtraNavBar.v25.2.dll
NuGet Package : DevExpress.Win
public delegate void NavBarLinkEventHandler(
object sender,
NavBarLinkEventArgs e
);
Public Delegate Sub NavBarLinkEventHandler(
sender As Object,
e As NavBarLinkEventArgs
)
| 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