BarManager.ItemPress Event
Fires immediately after any of the links associated with the Bar Manager has been pressed.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
Event Data
The ItemPress event's data class is ItemClickEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Item | Gets the BarItem whose link was clicked. |
Link | Gets the clicked BarItemLink. |
Remarks
Write an ItemPress event handler to perform specific actions each time any bar item link has been pressed. This event fires before the BarManager.ItemClick event, since the last is invoked after the mouse button has been released.
You can also use the BarItem.ItemPress event of individual items to respond to pressing links associated with them.
See Also