windowsforms-devexpress-dot-xtranavbar-dot-navbaritem-7ab4b968.md
Fires immediately after an item has been clicked.
Namespace : DevExpress.XtraNavBar
Assembly : DevExpress.XtraNavBar.v25.2.dll
NuGet Package : DevExpress.Win
public event NavBarLinkEventHandler LinkClicked
Public Event LinkClicked As NavBarLinkEventHandler
The LinkClicked event's data class is NavBarLinkEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Link | Gets the link for which the event is raised. |
Write a LinkClicked event handler to perform specific action each time a link, which refers to the item, is clicked. The clicked link can be obtained via the event parameter.
Note that the LinkClicked event fires after a user releases the left mouse button. Write a NavBarItem.LinkPressed event handler to perform specific actions each time a user presses a link referring to the item.
See Also