QuickOrderPanel
StockSharp.Xaml
Panel for quick orders transactions.
Inherits: UserControl
Implements: IPersistable, IComponentConnector
Constructors
QuickOrderPanel
public QuickOrderPanel()
quickOrderPanel = QuickOrderPanel()
Initializes a new instance of the QuickOrderPanel.
Properties
BuyBackground
public Brush BuyBackground { get; set; }
value = quickOrderPanel.BuyBackground
quickOrderPanel.BuyBackground = value
Buy button background.
Security
public Security Security { get; set; }
value = quickOrderPanel.Security
quickOrderPanel.Security = value
Security.
SellBackground
public Brush SellBackground { get; set; }
value = quickOrderPanel.SellBackground
quickOrderPanel.SellBackground = value
Sell button background.
Methods
InitializeComponent
public void InitializeComponent()
quickOrderPanel.InitializeComponent()
InitializeComponent
Load
public void Load(SettingsStorage storage)
quickOrderPanel.Load(storage)
Load settings.
- storage
- Settings storage.
Save
public void Save(SettingsStorage storage)
quickOrderPanel.Save(storage)
Save settings.
- storage
- Settings storage.
Events
RegisterOrder
public event Action<Order> RegisterOrder
quickOrderPanel.RegisterOrder += handler
The event of the order registration.
SettingsChanged
public event Action SettingsChanged
quickOrderPanel.SettingsChanged += handler
The panel settings change event.
Fields
BuyBackgroundProperty
public static readonly DependencyProperty BuyBackgroundProperty
value = QuickOrderPanel.BuyBackgroundProperty
Buy button background.
BuyText1Property
public static readonly DependencyProperty BuyText1Property
value = QuickOrderPanel.BuyText1Property
Grey part of price on buy button.
BuyText2ColorProperty
public static readonly DependencyProperty BuyText2ColorProperty
value = QuickOrderPanel.BuyText2ColorProperty
Color of the colored buy text (green/red).
BuyText2Property
public static readonly DependencyProperty BuyText2Property
value = QuickOrderPanel.BuyText2Property
Colored part of price on buy button.
SecurityProperty
public static readonly DependencyProperty SecurityProperty
value = QuickOrderPanel.SecurityProperty
Security.
SellBackgroundProperty
public static readonly DependencyProperty SellBackgroundProperty
value = QuickOrderPanel.SellBackgroundProperty
Sell button background.
SellText1Property
public static readonly DependencyProperty SellText1Property
value = QuickOrderPanel.SellText1Property
Grey part of price on sell button.
SellText2ColorProperty
public static readonly DependencyProperty SellText2ColorProperty
value = QuickOrderPanel.SellText2ColorProperty
Color of the colored sell text (green/red).
SellText2Property
public static readonly DependencyProperty SellText2Property
value = QuickOrderPanel.SellText2Property
Colored part of price on sell button.
SpreadTextProperty
public static readonly DependencyProperty SpreadTextProperty
value = QuickOrderPanel.SpreadTextProperty
Spread text.
VolumeProperty
public static readonly DependencyProperty VolumeProperty
value = QuickOrderPanel.VolumeProperty
Selected volume value.