BarManager.ItemDoubleClick Event
Occurs when a link is double clicked.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
Event Data
The ItemDoubleClick 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
Use the ItemDoubleClick event to perform specific actions when links belonging to the Bar Manager are double-clicked. The link and corresponding affected item are passed as the event’s parameters.
This event can be useful, for instance, if you need to provide additional functionality when static items are double clicked. For instance, you may have a static bar item representing a connection to the Internet. Double-clicking the item would open a dialog with connection properties.
Each item also provides the BarItem.ItemDoubleClick event which occurs when any link referring to this item is double-clicked.
Note that links displayed within popup menus cannot be double-clicked. For them, the first click closes the menu and the second click will be acquired by the underlying form.