Back to Devexpress

NavBarControl.LinkClicked Event

windowsforms-devexpress-dot-xtranavbar-dot-navbarcontrol-3700a00c.md

latest2.0 KB
Original Source

NavBarControl.LinkClicked Event

Fires immediately after a link has been clicked.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
public event NavBarLinkEventHandler LinkClicked
vb
Public Event LinkClicked As NavBarLinkEventHandler

Event Data

The LinkClicked 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 LinkClicked event handler to perform specific actions each time a user clicks a link. Note that this event fires immediately after the left mouse button is released. If the button is released when the mouse pointer is not over a link, the event doesn’t fire. The LinkClicked 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.LinkPressed event to perform specific actions each time a link is pressed.

See Also

LinkPressed

NavBarItem.Enabled

NavBarItemLink.Enabled

NavBarControl Class

NavBarControl Members

DevExpress.XtraNavBar Namespace