This documentation is archived and is not being maintained.

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

Sub Sub1(Cancel As Boolean)
End Sub
Dim chartEvents_BeforeRightClickEventHandler1 As New ChartEvents_BeforeRightClickEventHandler(AddressOf Sub1)

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



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.

Development Platforms

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

Target Platforms