ExchangeBoardsPanel

StockSharp.Xaml

Editor of exchange boards.

Inherits: UserControl

Implements: IPersistable, 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

Load
public void Load(SettingsStorage storage)
exchangeBoardsPanel.Load(storage)

Load settings.

storage
Settings storage.
Save
public void Save(SettingsStorage storage)
exchangeBoardsPanel.Save(storage)

Save settings.

storage
Settings storage.
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

Changed
public event Action Changed
exchangeBoardsPanel.Changed += handler

Boards changed event.

Fields

SelectedBoardCodeProperty
public static readonly DependencyProperty SelectedBoardCodeProperty
value = ExchangeBoardsPanel.SelectedBoardCodeProperty

DependencyProperty for SelectedBoardCode.