Class ChartContextMenu
Contains the all logical of context menu of the ChartControl.
Inheritance
System.Object
ChartContextMenu
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Windows.dll
Syntax
public class ChartContextMenu : ContextMenu
Constructors
ChartContextMenu()
Initializes a new instance of ChartContextMenu
Declaration
public ChartContextMenu()
ChartContextMenu(ChartControl)
Initializes a new instance of ChartContextMenu to initalize the menu items
Declaration
public ChartContextMenu(ChartControl control)
Parameters
Type | Name | Description |
---|---|---|
ChartControl | control |
Methods
Show(Control, Point, ChartControl)
Displays the shortcut menu at the specified position.
Declaration
public void Show(Control control, Point pos, ChartControl ch)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | control | A System.Windows.Forms.Control that specifies the control with which this shortcut menu is associated |
System.Drawing.Point | pos | A System.Drawing.Point that specifies the coordinates at which to display the menu. |
ChartControl | ch | Instance of the class ChartControl. |