ExchangeBoardsPanel
StockSharp.Xaml
Editor of exchange boards.
Inherits: UserControl
Implements: IAsyncPersistable, IComponentConnector
Constructors
ExchangeBoardsPanel
public ExchangeBoardsPanel()
exchangeBoardsPanel = ExchangeBoardsPanel()
Initializes a new instance of the ExchangeBoardsPanel.
Properties
Boards
public ObservableCollection<ExchangeBoard> Boards { get; }
value = exchangeBoardsPanel.Boards
List of boards.
SelectedBoardCode
public string SelectedBoardCode { get; set; }
value = exchangeBoardsPanel.SelectedBoardCode
exchangeBoardsPanel.SelectedBoardCode = value
The code of board which is currently being edited.
Methods
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
Returns: Task
SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = exchangeBoardsPanel.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Returns: Task
SetBoardCode
public void SetBoardCode(string boardCode)
exchangeBoardsPanel.SetBoardCode(boardCode)
To set the board for editing.
- boardCode
- The editing board code. The board for editing is loaded by the code from EntityRegistry.
Events
Fields
SelectedBoardCodeProperty
public static readonly DependencyProperty SelectedBoardCodeProperty
value = ExchangeBoardsPanel.SelectedBoardCodeProperty
DependencyProperty for SelectedBoardCode.