SecurityMappingPanel

StockSharp.Xaml

Панель создания и редактирования отображения символов.

Наследует: UserControl

Реализует: IAsyncPersistable, IComponentConnector

Конструкторы

SecurityMappingPanel
public SecurityMappingPanel()
securityMappingPanel = SecurityMappingPanel()

Инициирует новый экземпляр документа SecurityMappingPanel.

Свойства

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

Командир, добавьте новую карту.

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

Визуальное описание доступных соединений.

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

Текущие сопоставления для выбранного connector.

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

Командир удаляет выбранные карты.

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

Командир по сохранению карт.

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

Текст для кнопки Сохранить.

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

Выбрано connector.

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

Выбранные карты в сетке.

Методы

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

Возвращает: Task

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

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Возвращает: Task

Поля

AddCommandProperty
public static readonly DependencyProperty AddCommandProperty
value = SecurityMappingPanel.AddCommandProperty

DependencyProperty для AddCommand.

ConnectorsInfoProperty
public static readonly DependencyProperty ConnectorsInfoProperty
value = SecurityMappingPanel.ConnectorsInfoProperty

DependencyProperty для ConnectorsInfo.

MappingsProperty
public static readonly DependencyProperty MappingsProperty
value = SecurityMappingPanel.MappingsProperty

DependencyProperty для сопоставлений.

RemoveCommandProperty
public static readonly DependencyProperty RemoveCommandProperty
value = SecurityMappingPanel.RemoveCommandProperty

DependencyProperty для RemoveCommand.

SaveCommandProperty
public static readonly DependencyProperty SaveCommandProperty
value = SecurityMappingPanel.SaveCommandProperty

DependencyProperty для SaveCommand.

SaveTextProperty
public static readonly DependencyProperty SaveTextProperty
value = SecurityMappingPanel.SaveTextProperty

DependencyProperty для SaveText.

SelectedConnectorProperty
public static readonly DependencyProperty SelectedConnectorProperty
value = SecurityMappingPanel.SelectedConnectorProperty

DependencyProperty для SelectedConnector.