Class ExchangeBoardsPanel
Редактор биржевых площадок.
Namespace: StockSharp.Xaml
Assembly: StockSharp.Xaml.dll
Syntax
public class ExchangeBoardsPanel : UserControl, IComponentConnector, IPersistable
Constructors
ExchangeBoardsPanel()
Создать ExchangeBoardsPanel.
Declaration
public ExchangeBoardsPanel()
Fields
SaveErrorMessageProperty
Сообщение об ошибке сохранения данных.
Declaration
public static readonly DependencyProperty SaveErrorMessageProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
Boards
Список площадок.
Declaration
public ObservableCollection<ExchangeBoard> Boards { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<ExchangeBoard> |
SelectedBoardCode
Код площадки, которая в данный момент редактируется.
Declaration
public string SelectedBoardCode { get; }
Property Value
Type | Description |
---|---|
String |
Methods
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
Load(SettingsStorage)
Загрузить настройки.
Declaration
public void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Save(SettingsStorage)
Сохранить настройки.
Declaration
public void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
SetBoardCode(String)
Установить редактируемую площадку.
Declaration
public void SetBoardCode(string boardCode)
Parameters
Type | Name | Description |
---|---|---|
String | boardCode | Код редактируемой площадки. Площадка для редактирования загружается по коду из EntityRegistry. |
Events
Changed
Событие изменения Boards.
Declaration
public event Action Changed
Event Type
Type | Description |
---|---|
Action |
Implements
Ecng.Serialization.IPersistable