AlertSchemasPanel

StockSharp.Alerts

修改计划小组。

继承自: UserControl

实现: IAsyncPersistable, IComponentConnector

构造函数

AlertSchemasPanel
public AlertSchemasPanel()
alertSchemasPanel = AlertSchemasPanel()

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

属性

ProcessingService
public IAlertProcessingService ProcessingService { get; set; }
value = alertSchemasPanel.ProcessingService
alertSchemasPanel.ProcessingService = value

警报处理服务。

方法

InitializeComponent
public void InitializeComponent()
alertSchemasPanel.InitializeComponent()

InitializeComponent

LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = alertSchemasPanel.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

返回值: Task

SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = alertSchemasPanel.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

返回值: Task

事件

LayoutChanged
public event Action LayoutChanged
alertSchemasPanel.LayoutChanged += handler

版式已更改 。

字段

AddSchemaCommand
public static readonly RoutedCommand AddSchemaCommand
value = AlertSchemasPanel.AddSchemaCommand

添加新方案的命令 。

EditSchemaCommand
public static readonly RoutedCommand EditSchemaCommand
value = AlertSchemasPanel.EditSchemaCommand

编辑选中的策略的命令 。

RemoveSchemasCommand
public static readonly RoutedCommand RemoveSchemasCommand
value = AlertSchemasPanel.RemoveSchemasCommand

删除选中的策略的命令 。