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 |
| ContextMenuStrip | menuStrip | A reference to the ContextMenuStrip object that contains the context menu. |
| Point | mousePt | The point at which the mouse was clicked |
| ZedGraphControl.ContextMenuObjectState | objState | The current context menu state |