DiagramPaletteControl

StockSharp.Xaml.Diagram

要显示可用的 DiagramElement 的图形组件 。

继承自: UserControl

实现: IComponentConnector

构造函数

DiagramPaletteControl
public DiagramPaletteControl()
diagramPaletteControl = DiagramPaletteControl()

初始化了 & ##DiagramPaletteControl+#的新实例.

属性

ExcludedTypeIds
public CachedSynchronizedSet<Guid> ExcludedTypeIds { get; }
value = diagramPaletteControl.ExcludedTypeIds

排除了要素。

HelpCommand
public ICommand HelpCommand { get; private set; }
value = diagramPaletteControl.HelpCommand
diagramPaletteControl.HelpCommand = value

帮助指挥。

Items
public IEnumerable<DiagramPaletteItem> Items { get; }
value = diagramPaletteControl.Items

项目。

Model
public DiagramPaletteModel Model { get; set; }
value = diagramPaletteControl.Model
diagramPaletteControl.Model = value

DiagramPaletteModel

PaletteElement
public DiagramElement PaletteElement { get; }
value = diagramPaletteControl.PaletteElement

工具框中选定的元素 。

方法

InitializeComponent
public void InitializeComponent()
diagramPaletteControl.InitializeComponent()

InitializeComponent

事件

PaletteElementDoubleClicked
public event Action<DiagramElement> PaletteElementDoubleClicked
diagramPaletteControl.PaletteElementDoubleClicked += handler

工具箱中元素双击的事件 。