This documentation is archived and is not being maintained.

DocEvents_BeforeDoubleClickEventHandler Delegate

A Delegate type used to add an event handler for the BeforeDoubleClick event. The BeforeDoubleClick event occurs when a worksheet is double-clicked, before the default double-click action.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

public delegate void DocEvents_BeforeDoubleClickEventHandler(
	Range Target,
	out bool Cancel


Type: Microsoft.Office.Interop.Excel.Range

Required. The cell nearest to the mouse pointer when the double-click occurs.

Type: System.Boolean

Optional. False when the event occurs. If the event procedure sets this argument to True, the default double-click action isn't performed when the procedure is finished.