Back to Devexpress

BarManager.PressedLinkChanged Event

windowsforms-devexpress-dot-xtrabars-dot-barmanager-6e0f0fb9.md

latest2.7 KB
Original Source

BarManager.PressedLinkChanged Event

Fires immediately after a link has been pressed or released.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event HighlightedLinkChangedEventHandler PressedLinkChanged
vb
<DXCategory("Events")>
Public Event PressedLinkChanged As HighlightedLinkChangedEventHandler

Event Data

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

PropertyDescription
LinkGets the currently highlighted link.
PrevLinkGets 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

PressedLink

ItemPress

ItemClick

BarManager Class

BarManager Members

DevExpress.XtraBars Namespace