Delegate ZedGraphControl.ContextMenuBuilderEventHandler
A delegate that allows subscribing methods to append or modify the context menu.
Namespace: ZedGraph
Assembly: ZedGraph.WinForms.dll
Syntax
public delegate void ContextMenuBuilderEventHandler(ZedGraphControl sender, ContextMenuStrip menuStrip, Point mousePt, ZedGraphControl.ContextMenuObjectState objState);
Parameters
Type | Name | Description |
---|---|---|
ZedGraphControl | sender | The source ZedGraphControl object |
System.Windows.Forms.ContextMenuStrip | menuStrip | A reference to the System.Windows.Forms.ContextMenuStrip object that contains the context menu. |
System.Drawing.Point | mousePt | The point at which the mouse was clicked |
ZedGraphControl.ContextMenuObjectState | objState | The current context menu state |