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
Panels
Panels.
public IEnumerable<BuySellPanel> Panels { get; }
Property Value
Portfolios
Available portfolios.
public PortfolioDataSource Portfolios { get; set; }
Property Value
SecurityProvider
The provider of information about instruments.
public ISecurityProvider SecurityProvider { get; set; }
Property Value
Methods
AddPanel(Security)
Add panel.
public BuySellPanel AddPanel(Security security)
Parameters
security
SecuritySecurity.
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
SettingsStorageSettings storage.
RemovePanel(BuySellPanel)
Remove panel.
public void RemovePanel(BuySellPanel panel)
Parameters
panel
BuySellPanelBuy/sell operations panel.
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Events
OrderRegistering
The order registration event.
public event Action<Security, Portfolio, Sides, decimal, decimal> OrderRegistering
Event Type
PanelAdded
Panel added event.
public event Action<BuySellPanel> PanelAdded
Event Type
PanelRemoved
Panel removed event.
public event Action<BuySellPanel> PanelRemoved