SecurityMappingPanel

StockSharp.Xaml

The panel for creation and editing of symbols mapping.

Inherits: UserControl

Implements: IAsyncPersistable, IComponentConnector

Constructors

SecurityMappingPanel
public SecurityMappingPanel()
securityMappingPanel = SecurityMappingPanel()

Initializes a new instance of the SecurityMappingPanel.

Properties

AddCommand
public ICommand AddCommand { get; set; }
value = securityMappingPanel.AddCommand
securityMappingPanel.AddCommand = value

Command to add new mapping.

ConnectorsInfo
public IEnumerable<ConnectorInfo> ConnectorsInfo { get; set; }
value = securityMappingPanel.ConnectorsInfo
securityMappingPanel.ConnectorsInfo = value

Visual description of available connections.

Mappings
public ObservableCollection<SecurityIdMapping> Mappings { get; set; }
value = securityMappingPanel.Mappings
securityMappingPanel.Mappings = value

Current mappings for selected connector.

RemoveCommand
public ICommand RemoveCommand { get; set; }
value = securityMappingPanel.RemoveCommand
securityMappingPanel.RemoveCommand = value

Command to remove selected mappings.

SaveCommand
public ICommand SaveCommand { get; set; }
value = securityMappingPanel.SaveCommand
securityMappingPanel.SaveCommand = value

Command to save mappings.

SaveText
public string SaveText { get; set; }
value = securityMappingPanel.SaveText
securityMappingPanel.SaveText = value

Text for Save button.

SelectedConnector
public ConnectorInfo SelectedConnector { get; set; }
value = securityMappingPanel.SelectedConnector
securityMappingPanel.SelectedConnector = value

Selected connector.

SelectedMappings
public IEnumerable<SecurityIdMapping> SelectedMappings { get; }
value = securityMappingPanel.SelectedMappings

Selected mappings in the grid.

Methods

InitializeComponent
public void InitializeComponent()
securityMappingPanel.InitializeComponent()

InitializeComponent

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

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task

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

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task

Fields

AddCommandProperty
public static readonly DependencyProperty AddCommandProperty
value = SecurityMappingPanel.AddCommandProperty

DependencyProperty for AddCommand.

ConnectorsInfoProperty
public static readonly DependencyProperty ConnectorsInfoProperty
value = SecurityMappingPanel.ConnectorsInfoProperty

DependencyProperty for ConnectorsInfo.

MappingsProperty
public static readonly DependencyProperty MappingsProperty
value = SecurityMappingPanel.MappingsProperty

DependencyProperty for Mappings.

RemoveCommandProperty
public static readonly DependencyProperty RemoveCommandProperty
value = SecurityMappingPanel.RemoveCommandProperty

DependencyProperty for RemoveCommand.

SaveCommandProperty
public static readonly DependencyProperty SaveCommandProperty
value = SecurityMappingPanel.SaveCommandProperty

DependencyProperty for SaveCommand.

SaveTextProperty
public static readonly DependencyProperty SaveTextProperty
value = SecurityMappingPanel.SaveTextProperty

DependencyProperty for SaveText.

SelectedConnectorProperty
public static readonly DependencyProperty SelectedConnectorProperty
value = SecurityMappingPanel.SelectedConnectorProperty

DependencyProperty for SelectedConnector.