Table of Contents

Class BuySellPanel

Namespace
StockSharp.Xaml
Assembly
StockSharp.Xaml.dll

Buy/sell operations panel.

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

Constructors

BuySellPanel()

Initializes a new instance of the BuySellPanel.

public BuySellPanel()

Properties

MarketDataProvider

The market data provider.

public IMarketDataProvider MarketDataProvider { get; set; }

Property Value

IMarketDataProvider

Portfolio

Portfolio.

public Portfolio Portfolio { get; set; }

Property Value

Portfolio

Portfolios

Available portfolios.

public PortfolioDataSource Portfolios { get; set; }

Property Value

PortfolioDataSource

Security

Security.

public Security Security { get; set; }

Property Value

Security

SecurityProvider

The provider of information about instruments.

public ISecurityProvider SecurityProvider { get; set; }

Property Value

ISecurityProvider

Volume

Volume.

public decimal? Volume { get; set; }

Property Value

decimal?

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()

Load(SettingsStorage)

Load settings.

public void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

Save(SettingsStorage)

Save settings.

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

Events

Closed

Closing BuySellPanel event.

public event Action<BuySellPanel> Closed

Event Type

Action<BuySellPanel>

OrderRegistering

The order registration event.

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

Event Type

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

PortfolioChanged

Portfolio changed event.

public event Action<Portfolio, Portfolio> PortfolioChanged

Event Type

Action<Portfolio, Portfolio>

SecurityChanged

Security changed event.

public event Action<Security, Security> SecurityChanged

Event Type

Action<Security, Security>