ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Properties | List of all members
ScottPlot.WPF.WpfPlotMenu Class Reference
Inheritance diagram for ScottPlot.WPF.WpfPlotMenu:
ScottPlot.IPlotMenu

Public Member Functions

 WpfPlotMenu (WpfPlotBase control)
 
ContextMenuItem[] GetDefaultContextMenuItems ()
 
ContextMenu GetContextMenu (Plot plot)
 
void ShowContextMenu (Pixel pixel)
 
void OpenSaveImageDialog (Plot plot)
 
void Autoscale (Plot plot)
 
void OpenInNewWindow (Plot plot)
 
void Reset ()
 
void Clear ()
 
void Add (string Label, Action< Plot > action)
 
void AddSeparator ()
 

Static Public Member Functions

static void CopyImageToClipboard (Plot plot)
 

Properties

string DefaultSaveImageFilename = "Plot.png" [get, set]
 
List< ContextMenuItemContextMenuItems = new() [get, set]
 

Constructor & Destructor Documentation

◆ WpfPlotMenu()

ScottPlot.WPF.WpfPlotMenu.WpfPlotMenu ( WpfPlotBase  control)
inline

Member Function Documentation

◆ Add()

void ScottPlot.WPF.WpfPlotMenu.Add ( string  Label,
Action< Plot action 
)
inline

Implements ScottPlot.IPlotMenu.

◆ AddSeparator()

void ScottPlot.WPF.WpfPlotMenu.AddSeparator ( )
inline

Implements ScottPlot.IPlotMenu.

◆ Autoscale()

void ScottPlot.WPF.WpfPlotMenu.Autoscale ( Plot  plot)
inline

◆ Clear()

void ScottPlot.WPF.WpfPlotMenu.Clear ( )
inline

Implements ScottPlot.IPlotMenu.

◆ CopyImageToClipboard()

static void ScottPlot.WPF.WpfPlotMenu.CopyImageToClipboard ( Plot  plot)
inlinestatic

◆ GetContextMenu()

ContextMenu ScottPlot.WPF.WpfPlotMenu.GetContextMenu ( Plot  plot)
inline

◆ GetDefaultContextMenuItems()

ContextMenuItem[] ScottPlot.WPF.WpfPlotMenu.GetDefaultContextMenuItems ( )
inline

◆ OpenInNewWindow()

void ScottPlot.WPF.WpfPlotMenu.OpenInNewWindow ( Plot  plot)
inline

◆ OpenSaveImageDialog()

void ScottPlot.WPF.WpfPlotMenu.OpenSaveImageDialog ( Plot  plot)
inline

◆ Reset()

void ScottPlot.WPF.WpfPlotMenu.Reset ( )
inline

Implements ScottPlot.IPlotMenu.

◆ ShowContextMenu()

void ScottPlot.WPF.WpfPlotMenu.ShowContextMenu ( Pixel  pixel)
inline

Implements ScottPlot.IPlotMenu.

Property Documentation

◆ ContextMenuItems

List<ContextMenuItem> ScottPlot.WPF.WpfPlotMenu.ContextMenuItems = new()
getset

◆ DefaultSaveImageFilename

string ScottPlot.WPF.WpfPlotMenu.DefaultSaveImageFilename = "Plot.png"
getset

The documentation for this class was generated from the following file: