QuickOrderPanel
StockSharp.Xaml
Панель для быстрых операций с заказами.
Наследует: UserControl
Реализует: IPersistable, IComponentConnector
Конструкторы
QuickOrderPanel
public QuickOrderPanel()
quickOrderPanel = QuickOrderPanel()
Инициирует новый экземпляр документа QuickOrderPanel.
Свойства
BuyBackground
public Brush BuyBackground { get; set; }
value = quickOrderPanel.BuyBackground
quickOrderPanel.BuyBackground = value
Купить фон кнопки.
Security
public Security Security { get; set; }
value = quickOrderPanel.Security
quickOrderPanel.Security = value
финансовый инструмент.
SellBackground
public Brush SellBackground { get; set; }
value = quickOrderPanel.SellBackground
quickOrderPanel.SellBackground = value
Продать фон кнопки.
Методы
InitializeComponent
public void InitializeComponent()
quickOrderPanel.InitializeComponent()
InitializeComponent
Load
public void Load(SettingsStorage storage)
quickOrderPanel.Load(storage)
Загрузить настройки.
- storage
- Хранилище настроек.
Save
public void Save(SettingsStorage storage)
quickOrderPanel.Save(storage)
Сохраните настройки.
- storage
- Хранилище настроек.
События
RegisterOrder
public event Action<Order> RegisterOrder
quickOrderPanel.RegisterOrder += handler
Событие регистрации заказа.
SettingsChanged
public event Action SettingsChanged
quickOrderPanel.SettingsChanged += handler
Событие изменения настроек панели.
Поля
BuyBackgroundProperty
public static readonly DependencyProperty BuyBackgroundProperty
value = QuickOrderPanel.BuyBackgroundProperty
Купить фон кнопки.
BuyText1Property
public static readonly DependencyProperty BuyText1Property
value = QuickOrderPanel.BuyText1Property
Серая часть цены на кнопке покупки.
BuyText2ColorProperty
public static readonly DependencyProperty BuyText2ColorProperty
value = QuickOrderPanel.BuyText2ColorProperty
Цвет цветного текста покупки (зеленый/красный).
BuyText2Property
public static readonly DependencyProperty BuyText2Property
value = QuickOrderPanel.BuyText2Property
Цветная часть цены на кнопке покупки.
SecurityProperty
public static readonly DependencyProperty SecurityProperty
value = QuickOrderPanel.SecurityProperty
финансовый инструмент.
SellBackgroundProperty
public static readonly DependencyProperty SellBackgroundProperty
value = QuickOrderPanel.SellBackgroundProperty
Продать фон кнопки.
SellText1Property
public static readonly DependencyProperty SellText1Property
value = QuickOrderPanel.SellText1Property
Серая часть цены на кнопке продажи.
SellText2ColorProperty
public static readonly DependencyProperty SellText2ColorProperty
value = QuickOrderPanel.SellText2ColorProperty
Цвет цветного текста продажи (зеленый/красный).
SellText2Property
public static readonly DependencyProperty SellText2Property
value = QuickOrderPanel.SellText2Property
Цветная часть цены на кнопке продажи.
SpreadTextProperty
public static readonly DependencyProperty SpreadTextProperty
value = QuickOrderPanel.SpreadTextProperty
Распространение текста.
VolumeProperty
public static readonly DependencyProperty VolumeProperty
value = QuickOrderPanel.VolumeProperty
Выбранное значение объема.