Class QuickOrderPanel
Панель быстрой регистрации заявок.
Namespace: StockSharp.Xaml
Assembly: StockSharp.Xaml.dll
Syntax
public class QuickOrderPanel : UserControl, IComponentConnector, IPersistable
Constructors
QuickOrderPanel()
Создать QuickOrderPanel.
Declaration
public QuickOrderPanel()
Fields
BuyBackgroundProperty
Фон кнопки покупки.
Declaration
public static readonly DependencyProperty BuyBackgroundProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
BuyText1Property
Grey part of price on buy button.
Declaration
public static readonly DependencyProperty BuyText1Property
Field Value
Type | Description |
---|---|
DependencyProperty |
BuyText2ColorProperty
Color of the colored buy text (green/red).
Declaration
public static readonly DependencyProperty BuyText2ColorProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
BuyText2Property
Colored part of price on buy button.
Declaration
public static readonly DependencyProperty BuyText2Property
Field Value
Type | Description |
---|---|
DependencyProperty |
SecurityProperty
Инструмент стакана.
Declaration
public static readonly DependencyProperty SecurityProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SellBackgroundProperty
Фон кнопки продажи.
Declaration
public static readonly DependencyProperty SellBackgroundProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SellText1Property
Grey part of price on sell button.
Declaration
public static readonly DependencyProperty SellText1Property
Field Value
Type | Description |
---|---|
DependencyProperty |
SellText2ColorProperty
Color of the colored sell text (green/red).
Declaration
public static readonly DependencyProperty SellText2ColorProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SellText2Property
Colored part of price on sell button.
Declaration
public static readonly DependencyProperty SellText2Property
Field Value
Type | Description |
---|---|
DependencyProperty |
SpreadTextProperty
Текст спреда.
Declaration
public static readonly DependencyProperty SpreadTextProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
VolumeProperty
Значение выбранного объема.
Declaration
public static readonly DependencyProperty VolumeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
BuyBackground
Фон кнопки покупки.
Declaration
public Brush BuyBackground { get; set; }
Property Value
Type | Description |
---|---|
Brush |
BuyCaps
BUY
Declaration
public string BuyCaps { get; }
Property Value
Type | Description |
---|---|
String |
Security
Инструмент стакана.
Declaration
public Security Security { get; set; }
Property Value
Type | Description |
---|---|
Security |
SellBackground
Фон кнопки продажи.
Declaration
public Brush SellBackground { get; set; }
Property Value
Type | Description |
---|---|
Brush |
SellCaps
SELL
Declaration
public string SellCaps { get; }
Property Value
Type | Description |
---|---|
String |
Methods
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
Load(SettingsStorage)
Загрузить настройки.
Declaration
public void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Save(SettingsStorage)
Сохранить настройки.
Declaration
public void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Events
RegisterOrder
Событие регистрации заявки.
Declaration
public event Action<Order> RegisterOrder
Event Type
Type | Description |
---|---|
Action<Order> |
SettingsChanged
Событие изменения настроек панели.
Declaration
public event Action SettingsChanged
Event Type
Type | Description |
---|---|
Action |
Implements
Ecng.Serialization.IPersistable