SecurityMappingPanel

StockSharp.Xaml

O painel para criação e edição de símbolos de mapeamento.

Herda de: UserControl

Implementa: IAsyncPersistable, IComponentConnector

Construtores

SecurityMappingPanel
public SecurityMappingPanel()
securityMappingPanel = SecurityMappingPanel()

Inicializa uma nova instância do SecurityMappingPanel.

Propriedades

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

Comando para adicionar um novo mapeamento.

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

Descrição visual das ligações disponíveis.

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

Mapeamentos atuais para connector.

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

Comando para remover os mapeamentos seleccionados.

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

Comando para salvar mapeamentos.

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

Botão de texto para salvar.

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

Seleccionado connector.

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

Mapeamentos selecionados na grade.

Métodos

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

Retorna: Task

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

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Retorna: Task

Campos

AddCommandProperty
public static readonly DependencyProperty AddCommandProperty
value = SecurityMappingPanel.AddCommandProperty

DependencyProperty@ para AddCommand.

ConnectorsInfoProperty
public static readonly DependencyProperty ConnectorsInfoProperty
value = SecurityMappingPanel.ConnectorsInfoProperty

DependencyProperty@ para ConnectorsInfo.

MappingsProperty
public static readonly DependencyProperty MappingsProperty
value = SecurityMappingPanel.MappingsProperty

DependencyProperty for Mappings.

RemoveCommandProperty
public static readonly DependencyProperty RemoveCommandProperty
value = SecurityMappingPanel.RemoveCommandProperty

DependencyProperty@ para RemoveCommand.

SaveCommandProperty
public static readonly DependencyProperty SaveCommandProperty
value = SecurityMappingPanel.SaveCommandProperty

DependencyProperty@ para SaveCommand.

SaveTextProperty
public static readonly DependencyProperty SaveTextProperty
value = SecurityMappingPanel.SaveTextProperty

DependencyProperty@ para SaveText.

SelectedConnectorProperty
public static readonly DependencyProperty SelectedConnectorProperty
value = SecurityMappingPanel.SelectedConnectorProperty

DependencyProperty@ para SelectedConnector.