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)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub DocEvents_BeforeDoubleClickEventHandler ( _
Target As Range, _
<OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As New DocEvents_BeforeDoubleClickEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void DocEvents_BeforeDoubleClickEventHandler(
Range Target,
out bool Cancel
)
Parameters
Target
Type: Microsoft.Office.Interop.Excel.RangeRequired. The cell nearest to the mouse pointer when the double-click occurs.
Cancel
Type: System.BooleanOptional. 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.