Back to Devexpress

NavBarControl.LinkPressed Event

windowsforms-devexpress-dot-xtranavbar-dot-navbarcontrol-2b826538.md

latest1.9 KB
Original Source

NavBarControl.LinkPressed Event

Fires immediately after a link has been pressed.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
public event NavBarLinkEventHandler LinkPressed
vb
Public Event LinkPressed As NavBarLinkEventHandler

Event Data

The LinkPressed event's data class is NavBarLinkEventArgs. The following properties provide information specific to this event:

PropertyDescription
LinkGets the link for which the event is raised.

Remarks

Write a LinkPressed event handler to perform specific actions each time a link is pressed. This event fires right after the left mouse button has been clicked if the mouse pointer is over a link. The LinkPressed event fires for disabled links only if such links respond to user clicks in the currently applied paint style.

You can also use the NavBarControl.LinkClicked event to perform specific actions each time a link is clicked.

See Also

LinkClicked

NavBarItem.Enabled

NavBarItemLink.Enabled

NavBarControl Class

NavBarControl Members

DevExpress.XtraNavBar Namespace