Table of Contents

Class BuySellGrid

Namespace
StockSharp.Xaml
Assembly
StockSharp.Xaml.dll

Table control, containing set of BuySellPanel.

public class BuySellGrid : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IPersistable, IComponentConnector
Inheritance
BuySellGrid
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

BuySellGrid()

Initializes a new instance of the BuySellGrid.

public BuySellGrid()

Properties

MarketDataProvider

The market data provider.

public IMarketDataProvider MarketDataProvider { get; set; }

Property Value

IMarketDataProvider

Panels

Panels.

public IEnumerable<BuySellPanel> Panels { get; }

Property Value

IEnumerable<BuySellPanel>

Portfolios

Available portfolios.

public PortfolioDataSource Portfolios { get; set; }

Property Value

PortfolioDataSource

SecurityProvider

The provider of information about instruments.

public ISecurityProvider SecurityProvider { get; set; }

Property Value

ISecurityProvider

Methods

AddPanel(Security)

Add panel.

public BuySellPanel AddPanel(Security security)

Parameters

security Security

Security.

Returns

BuySellPanel

Buy/sell operations panel.

ClearPanels()

Remove all BuySellPanel.

public void ClearPanels()

InitializeComponent()

InitializeComponent

public void InitializeComponent()

Load(SettingsStorage)

Load settings.

public void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

RemovePanel(BuySellPanel)

Remove panel.

public void RemovePanel(BuySellPanel panel)

Parameters

panel BuySellPanel

Buy/sell operations panel.

Save(SettingsStorage)

Save settings.

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

Events

OrderRegistering

The order registration event.

public event Action<Security, Portfolio, Sides, decimal, decimal> OrderRegistering

Event Type

Action<Security, Portfolio, Sides, decimal, decimal>

PanelAdded

Panel added event.

public event Action<BuySellPanel> PanelAdded

Event Type

Action<BuySellPanel>

PanelRemoved

Panel removed event.

public event Action<BuySellPanel> PanelRemoved

Event Type

Action<BuySellPanel>