ExchangeBoardsPanel

StockSharp.Xaml

Editor de tableros de intercambio.

Hereda de: UserControl

Implementa: IAsyncPersistable, IComponentConnector

Constructores

ExchangeBoardsPanel
public ExchangeBoardsPanel()
exchangeBoardsPanel = ExchangeBoardsPanel()

Inicia una nueva instancia de la ExchangeBoardsPanel.

Propiedades

Boards
public ObservableCollection<ExchangeBoard> Boards { get; }
value = exchangeBoardsPanel.Boards

Lista de tablas.

SelectedBoardCode
public string SelectedBoardCode { get; set; }
value = exchangeBoardsPanel.SelectedBoardCode
exchangeBoardsPanel.SelectedBoardCode = value

El código de la junta que se está editando actualmente.

Métodos

InitializeComponent
public void InitializeComponent()
exchangeBoardsPanel.InitializeComponent()

InitializeComponent

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

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Devuelve: Task

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

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Devuelve: Task

SetBoardCode
public void SetBoardCode(string boardCode)
exchangeBoardsPanel.SetBoardCode(boardCode)

Para configurar la tabla para la edición.

boardCode
El código de la junta de edición. La junta de edición está cargada por el código EntityRegistry.

Eventos

Changed
public event Action Changed
exchangeBoardsPanel.Changed += handler

Las juntas cambiaron de evento.

Campos

SelectedBoardCodeProperty
public static readonly DependencyProperty SelectedBoardCodeProperty
value = ExchangeBoardsPanel.SelectedBoardCodeProperty

DependencyProperty para SelectedBoardCode.