BuySellGrid

StockSharp.Xaml

表格控制,包含BuySellPanel的一组.

继承自: UserControl

实现: IPersistable, IComponentConnector

构造函数

BuySellGrid
public BuySellGrid()
buySellGrid = BuySellGrid()

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

属性

MarketDataProvider
public IMarketDataProvider MarketDataProvider { get; set; }
value = buySellGrid.MarketDataProvider
buySellGrid.MarketDataProvider = value

市场数据提供者.

Panels
public IEnumerable<BuySellPanel> Panels { get; }
value = buySellGrid.Panels

面板(出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出众出.

Portfolios
public PortfolioDataSource Portfolios { get; set; }
value = buySellGrid.Portfolios
buySellGrid.Portfolios = value

可用的组合 。

SecurityProvider
public ISecurityProvider SecurityProvider { get; set; }
value = buySellGrid.SecurityProvider
buySellGrid.SecurityProvider = value

提供各种文书的信息。

方法

AddPanel
public BuySellPanel AddPanel(Security security)
result = buySellGrid.AddPanel(security)

添加面板 。

security
金融工具。

返回值: 买卖业务面板.

ClearPanels
public void ClearPanels()
buySellGrid.ClearPanels()

Remove all BuySellPanel.

InitializeComponent
public void InitializeComponent()
buySellGrid.InitializeComponent()

InitializeComponent

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

装入设置 。

storage
设置存储 。
RemovePanel
public void RemovePanel(BuySellPanel panel)
buySellGrid.RemovePanel(panel)

删除面板 。

panel
买卖业务面板.
Save
public void Save(SettingsStorage storage)
buySellGrid.Save(storage)

保存设置 。

storage
设置存储 。

事件

OrderRegistering
public event Action<Security, Portfolio, Sides, decimal, decimal> OrderRegistering
buySellGrid.OrderRegistering += handler

订单注册活动.

PanelAdded
public event Action<BuySellPanel> PanelAdded
buySellGrid.PanelAdded += handler

专门小组增加了活动。

PanelRemoved
public event Action<BuySellPanel> PanelRemoved
buySellGrid.PanelRemoved += handler

面板删除事件 。