Back to Devexpress

BaseLayoutItem.DoubleClick Event

windowsforms-devexpress-dot-xtralayout-dot-baselayoutitem-9d2c5dbc.md

latest1.7 KB
Original Source

BaseLayoutItem.DoubleClick Event

Fires when the current item is clicked.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Action")]
public event EventHandler DoubleClick
vb
<DXCategory("Action")>
Public Event DoubleClick As EventHandler

Event Data

The DoubleClick event's data class is EventArgs.

Remarks

To perform specific actions when any item is double-clicked, you can handle the LayoutControl’s DoubleClick event, rather than handle the DoubleClick event for each layout item. While handling the DoubleClick event, you may need to identify the item that has been clicked. To do this, get hit information on the clicked point via the LayoutControl.CalcHitInfo method. The BaseLayoutItemHitInfo.Item property will refer to the target item.

See Also

CalcHitInfo(Point)

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.XtraLayout Namespace