Class DiagramPaletteControl
The graphical component to display available DiagramElement.
Implements
Namespace: StockSharp.Xaml.Diagram
Assembly: StockSharp.Xaml.Diagram.dll
Syntax
public class DiagramPaletteControl : UserControl, IComponentConnector
Constructors
DiagramPaletteControl()
Initializes a new instance of the DiagramPaletteControl.
Declaration
public DiagramPaletteControl()
Properties
AddCommand
Declaration
public ICommand AddCommand { get; }
Property Value
Type | Description |
---|---|
ICommand |
HelpCommand
Help command.
Declaration
public ICommand HelpCommand { get; }
Property Value
Type | Description |
---|---|
ICommand |
Items
Available elements.
Declaration
public INotifyList<PaletteTreeItem> Items { get; set; }
Property Value
Type | Description |
---|---|
Ecng.Collections.INotifyList<PaletteTreeItem> |
PaletteElement
The selected element in the Toolbox.
Declaration
public DiagramElement PaletteElement { get; }
Property Value
Type | Description |
---|---|
DiagramElement |
RemoveCommand
Declaration
public ICommand RemoveCommand { get; }
Property Value
Type | Description |
---|---|
ICommand |
Methods
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
Events
PaletteElementDoubleClicked
The event of the double click on the element in the Toolbox.
Declaration
public event Action<DiagramElement> PaletteElementDoubleClicked
Event Type
Type | Description |
---|---|
Action<DiagramElement> |