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

A Plot Menu Item that provides necessary functionality for the zoom back menu item (graying out if zoomed right out in addition to basic functionality).
Inheritance: PlotMenuItem
ファイルを表示 Open project: mono/nplot-gtk

Public Methods

Method Description
OnPopup ( PlotContextMenu plotContextMenu ) : void

Called before menu drawn.

PlotZoomBackMenuItem ( 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

PlotZoomBackMenuItem() public method

Constructor
public PlotZoomBackMenuItem ( string text, int index, EventHandler callback ) : System
text string Text associated with this item in the menu.
index int Index of this item in the menu.
callback EventHandler EventHandler to call when menu item is selected.
return System