windowsforms-devexpress-dot-xtranavbar-dot-navbaritem-b62e4184.md
Fires immediately after a user pressed the item.
Namespace : DevExpress.XtraNavBar
Assembly : DevExpress.XtraNavBar.v25.2.dll
NuGet Package : DevExpress.Win
public event NavBarLinkEventHandler LinkPressed
Public Event LinkPressed As NavBarLinkEventHandler
The LinkPressed 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 LinkPressed event handler to perform specific actions each time a user presses the link which refers to the item. The pressed link can be obtained via the event parameter.
Note that the LinkPressed event fires when a user presses the left mouse button when the mouse pointer is over a link. Write a NavBarItem.LinkClicked event handler to perform specific action each time a user releases a link.
See Also