ExchangeBoardsPanel

StockSharp.Xaml

汇兑板编辑.

继承自: UserControl

实现: IPersistable, IComponentConnector

构造函数

ExchangeBoardsPanel
public ExchangeBoardsPanel()
exchangeBoardsPanel = ExchangeBoardsPanel()

初始化了 & ##ExchangeBoardsPanel+#的新实例.

属性

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

板子列表.

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

目前正在编辑的棋盘代码 。

方法

InitializeComponent
public void InitializeComponent()
exchangeBoardsPanel.InitializeComponent()

InitializeComponent

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

装入设置 。

storage
设置存储 。
Save
public void Save(SettingsStorage storage)
exchangeBoardsPanel.Save(storage)

保存设置 。

storage
设置存储 。
SetBoardCode
public void SetBoardCode(string boardCode)
exchangeBoardsPanel.SetBoardCode(boardCode)

以设置会板进行编辑.

boardCode
编辑板代码。编辑板由 EntityRegistry 的代码加载 。

事件

Changed
public event Action Changed
exchangeBoardsPanel.Changed += handler

董事会改变事件。

字段

SelectedBoardCodeProperty
public static readonly DependencyProperty SelectedBoardCodeProperty
value = ExchangeBoardsPanel.SelectedBoardCodeProperty

DependencyProperty 为SelectedBoardCode.