DiagramPaletteControl
StockSharp.Xaml.Diagram
The graphical component to display available DiagramElement.
Inherits: UserControl
Implements: IComponentConnector
Constructors
DiagramPaletteControl
public DiagramPaletteControl()
diagramPaletteControl = DiagramPaletteControl()
Initializes a new instance of the DiagramPaletteControl.
Properties
ExcludedTypeIds
public CachedSynchronizedSet<Guid> ExcludedTypeIds { get; }
value = diagramPaletteControl.ExcludedTypeIds
Excluded elements.
HelpCommand
public ICommand HelpCommand { get; private set; }
value = diagramPaletteControl.HelpCommand
diagramPaletteControl.HelpCommand = value
Help command.
Items
public IEnumerable<DiagramPaletteItem> Items { get; }
value = diagramPaletteControl.Items
Items.
Model
public DiagramPaletteModel Model { get; set; }
value = diagramPaletteControl.Model
diagramPaletteControl.Model = value
DiagramPaletteModel
PaletteElement
public DiagramElement PaletteElement { get; }
value = diagramPaletteControl.PaletteElement
The selected element in the Toolbox.
Methods
InitializeComponent
public void InitializeComponent()
diagramPaletteControl.InitializeComponent()
InitializeComponent
Events
PaletteElementDoubleClicked
public event Action<DiagramElement> PaletteElementDoubleClicked
diagramPaletteControl.PaletteElementDoubleClicked += handler
The event of the double click on the element in the Toolbox.