AlertSchemasPanel
StockSharp.Alerts
Panel for schemas modification.
Inherits: UserControl
Implements: IAsyncPersistable, IComponentConnector
Constructors
AlertSchemasPanel
public AlertSchemasPanel()
alertSchemasPanel = AlertSchemasPanel()
Initializes a new instance of the AlertSchemasPanel.
Properties
ProcessingService
public IAlertProcessingService ProcessingService { get; set; }
value = alertSchemasPanel.ProcessingService
alertSchemasPanel.ProcessingService = value
Alert processing service.
Methods
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
Returns: Task
SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = alertSchemasPanel.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Returns: Task
Events
LayoutChanged
public event Action LayoutChanged
alertSchemasPanel.LayoutChanged += handler
Layout changed event.
Fields
AddSchemaCommand
public static readonly RoutedCommand AddSchemaCommand
value = AlertSchemasPanel.AddSchemaCommand
The command to add new schema.
EditSchemaCommand
public static readonly RoutedCommand EditSchemaCommand
value = AlertSchemasPanel.EditSchemaCommand
The command to edit selected schema.
RemoveSchemasCommand
public static readonly RoutedCommand RemoveSchemasCommand
value = AlertSchemasPanel.RemoveSchemasCommand
The command to remove selected schemas.