Export (0) Print
Expand All
Expand Minimize

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)

'Usage
Sub Sub1(Target As Range, _
	Cancel As Boolean)
End Sub
Dim docEvents_BeforeDoubleClickEventHandler1 As New DocEvents_BeforeDoubleClickEventHandler(AddressOf Sub1)

public delegate void DocEvents_BeforeDoubleClickEventHandler(
	[In] Range Target, 
	[In, Out] ref bool Cancel
);
public delegate void DocEvents_BeforeDoubleClickEventHandler(
	/*in*/Range Target, 
	/*in*/boolean Cancel
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters

Target

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

Cancel

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.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft