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

Public Member Functions

 WinUIPlotMenu (WinUIPlot thisControl)
 
ContextMenuItem[] GetDefaultContextMenuItems ()
 
MenuFlyout GetContextMenu (Plot plot)
 
async void OpenSaveImageDialog (Plot plot)
 
void CopyImageToClipboard (Plot plot)
 
void Autoscale (Plot plot)
 
void ShowContextMenu (Pixel pixel)
 
void Reset ()
 
void Clear ()
 
void Add (string Label, Action< Plot > action)
 
void AddSeparator ()
 

Properties

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

Constructor & Destructor Documentation

◆ WinUIPlotMenu()

ScottPlot.WinUI.WinUIPlotMenu.WinUIPlotMenu ( WinUIPlot  thisControl)
inline

Member Function Documentation

◆ Add()

void ScottPlot.WinUI.WinUIPlotMenu.Add ( string  Label,
Action< Plot action 
)
inline

Implements ScottPlot.IPlotMenu.

◆ AddSeparator()

void ScottPlot.WinUI.WinUIPlotMenu.AddSeparator ( )
inline

Implements ScottPlot.IPlotMenu.

◆ Autoscale()

void ScottPlot.WinUI.WinUIPlotMenu.Autoscale ( Plot  plot)
inline

◆ Clear()

void ScottPlot.WinUI.WinUIPlotMenu.Clear ( )
inline

Implements ScottPlot.IPlotMenu.

◆ CopyImageToClipboard()

void ScottPlot.WinUI.WinUIPlotMenu.CopyImageToClipboard ( Plot  plot)
inline

◆ GetContextMenu()

MenuFlyout ScottPlot.WinUI.WinUIPlotMenu.GetContextMenu ( Plot  plot)
inline

◆ GetDefaultContextMenuItems()

ContextMenuItem[] ScottPlot.WinUI.WinUIPlotMenu.GetDefaultContextMenuItems ( )
inline

◆ OpenSaveImageDialog()

async void ScottPlot.WinUI.WinUIPlotMenu.OpenSaveImageDialog ( Plot  plot)
inline

◆ Reset()

void ScottPlot.WinUI.WinUIPlotMenu.Reset ( )
inline

Implements ScottPlot.IPlotMenu.

◆ ShowContextMenu()

void ScottPlot.WinUI.WinUIPlotMenu.ShowContextMenu ( Pixel  pixel)
inline

Implements ScottPlot.IPlotMenu.

Property Documentation

◆ ContextMenuItems

List<ContextMenuItem> ScottPlot.WinUI.WinUIPlotMenu.ContextMenuItems = new()
getset

◆ DefaultSaveImageFilename

string ScottPlot.WinUI.WinUIPlotMenu.DefaultSaveImageFilename = "Plot.png"
getset

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