Expand Minimize

DocEvents_BeforeRightClickEventHandler Delegate

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

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

[ComVisibleAttribute(false)]
public delegate void DocEvents_BeforeRightClickEventHandler(
	Range Target,
	out bool Cancel
)

Parameters

Target
Type: Microsoft.Office.Interop.Excel.Range
Required. The cell nearest to the mouse pointer when the right-click occurs.
Cancel
Type: System.Boolean
Optional. False when the event occurs. If the event procedure sets this argument to True, the default right-click action doesn't occur when the procedure is finished.

Community Additions

ADD
Show:
© 2014 Microsoft