windowsforms-devexpress-dot-xtrabars-dot-baritem-0828e2e7.md
Fires when a link to an item is double-clicked.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public event ItemClickEventHandler ItemDoubleClick
Public Event ItemDoubleClick As ItemClickEventHandler
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. |
| MouseButton | Gets the pressed mouse button. |
The ItemDoubleClick event occurs when the end-user double-clicks an item’s link. The event parameter’s ItemClickEventArgs.Link and ItemClickEventArgs.Item properties allow you to identify the link that was double clicked and the item it corresponds to.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemDoubleClick event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
biFormatPainter.CheckedChanged += barCheckItem1_CheckedChanged;
biFormatPainter.ItemDoubleClick += barCheckItem1_ItemDoubleClick;
AddHandler biFormatPainter.CheckedChanged, AddressOf barCheckItem1_CheckedChanged
AddHandler biFormatPainter.ItemDoubleClick, AddressOf barCheckItem1_ItemDoubleClick
End Sub
See Also