Skip to main content
A newer version of this page is available. .

NavBarItem.LinkClicked Event

Fires immediately after an item has been clicked.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v18.2.dll

Declaration

public event NavBarLinkEventHandler LinkClicked

Event Data

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.

Remarks

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LinkClicked event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also