AppEvents_SheetBeforeDoubleClickEventHandler Delegate
A Delegate type used to add an event handler for the SheetBeforeDoubleClick event. The SheetBeforeDoubleClick event occurs when any 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 AppEvents_SheetBeforeDoubleClickEventHandler ( _
Sh As Object, _
Target As Range, _
<OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As New AppEvents_SheetBeforeDoubleClickEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void AppEvents_SheetBeforeDoubleClickEventHandler(
Object Sh,
Range Target,
out bool Cancel
)
Parameters
Sh
Type: System.ObjectA Worksheet object that represents the sheet.
Target
Type: Microsoft.Office.Interop.Excel.RangeThe cell nearest to the mouse pointer when the double-click occurred.
Cancel
Type: System.BooleanFalse 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.