Inheritance diagram for NPlot::Windows::PlotSurface2D::PlotContextMenu::PlotMenuItem:
Public Member Functions | |
PlotMenuItem (string text, int index, EventHandler callback) | |
Constructor. | |
virtual void | OnPopup (PlotContextMenu plotContextMenu) |
Called before menu drawn. | |
Properties | |
string | Text |
The text to put in the menu for this menu item. | |
int | index_ |
int | Index |
Index of this menu item in the menu. | |
EventHandler | callback_ |
EventHandler | Callback |
EventHandler to call if menu selected. | |
System.Windows.Forms.MenuItem | menuItem_ |
System.Windows.Forms.MenuItem | MenuItem |
The Windows.Forms.MenuItem associated with this IPlotMenuItem. | |
Private Attributes | |
string | text_ |
Definition at line 2335 of file Windows.PlotSurface2D.cs.
|
Constructor.
Definition at line 2344 of file Windows.PlotSurface2D.cs. |
|
Called before menu drawn.
Implements NPlot::Windows::PlotSurface2D::PlotContextMenu::IPlotMenuItem. Reimplemented in NPlot::Windows::PlotSurface2D::PlotContextMenu::PlotZoomBackMenuItem, and NPlot::Windows::PlotSurface2D::PlotContextMenu::PlotShowCoordinatesMenuItem. Definition at line 2410 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2358 of file Windows.PlotSurface2D.cs. |
|
EventHandler to call if menu selected.
Definition at line 2387 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2382 of file Windows.PlotSurface2D.cs. |
|
Index of this menu item in the menu.
Definition at line 2375 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2370 of file Windows.PlotSurface2D.cs. |
|
The Windows.Forms.MenuItem associated with this IPlotMenuItem.
Implements NPlot::Windows::PlotSurface2D::PlotContextMenu::IPlotMenuItem. Definition at line 2399 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2394 of file Windows.PlotSurface2D.cs. |
|
The text to put in the menu for this menu item.
Definition at line 2363 of file Windows.PlotSurface2D.cs. |