C# Class NPlot.Windows.PlotSurface2D.PlotContextMenu.PlotMenuItem

A Plot menu item suitable for specifying basic menu items
Inheritance: IPlotMenuItem
ファイルを表示 Open project: mono/nplot-gtk

Public Methods

Method Description
OnPopup ( PlotContextMenu plotContextMenu ) : void

Called before menu drawn.

PlotMenuItem ( string text, int index, EventHandler callback ) : System

Constructor

Method Details

OnPopup() public method

Called before menu drawn.
public OnPopup ( PlotContextMenu plotContextMenu ) : void
plotContextMenu PlotContextMenu The plot menu this item is a member of.
return void

PlotMenuItem() public method

Constructor
public PlotMenuItem ( string text, int index, EventHandler callback ) : System
text string Menu item text
index int Index in the manu
callback EventHandler EventHandler to call if menu selected.
return System