ChartEvents_BeforeRightClickEventHandler Delegate

A Delegate type used to add an event handler for the BeforeRightClick event. The BeforeRightClick event occurs when an embedded chart 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)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ChartEvents_BeforeRightClickEventHandler ( _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As New ChartEvents_BeforeRightClickEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void ChartEvents_BeforeRightClickEventHandler(
    out bool Cancel
)

Parameters

  • Cancel
    Type: System.Boolean

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

See Also

Reference

Microsoft.Office.Interop.Excel Namespace