Fires immediately after a link has been pressed or released.
[DXCategory("Events")] public event HighlightedLinkChangedEventHandler PressedLinkChanged
<DXCategory("Events")> Public Event PressedLinkChanged As HighlightedLinkChangedEventHandler
The PressedLinkChanged event's data class is HighlightedLinkChangedEventArgs. The following properties provide information specific to this event:
|Link||Gets the currently highlighted link.|
|PrevLink||Gets the previously highlighted link.|
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.
- The HighlightedLinkChangedEventArgs.Link parameter value is null (Nothing in Visual Basic). This means that a link has been released.
- The HighlightedLinkChangedEventArgs.PrevLink parameter value is null (Nothing in Visual Basic). This means that a link has been pressed.