Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarManager.PressedLinkChanged Event

Fires immediately after a link has been pressed or released.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Events")]
public event HighlightedLinkChangedEventHandler PressedLinkChanged

#Event Data

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

Property Description
Link Gets the currently highlighted link.
PrevLink Gets the previously highlighted link.

#Remarks

Write a PressedLinkChanged event handler to perform specific actions each time end-users press or release links. Note that if you want to respond to pressing links only, it is better to use the BarItem.ItemPress event. If your aim is to respond to link clicks, consider using the BarManager.ItemClick event.

When handling the PressedLinkChanged event, the following parameter values allow you to identify whether a link has been pressed or released.

See Also