Class QuickOrderPanel
- Namespace
- StockSharp.Xaml
- Assembly
- StockSharp.Xaml.dll
Panel for quick orders transactions.
public class QuickOrderPanel : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IPersistable, IComponentConnector
- Inheritance
-
QuickOrderPanel
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
QuickOrderPanel()
Initializes a new instance of the QuickOrderPanel.
public QuickOrderPanel()
Fields
BuyBackgroundProperty
Buy button background.
public static readonly DependencyProperty BuyBackgroundProperty
Field Value
BuyText1Property
Grey part of price on buy button.
public static readonly DependencyProperty BuyText1Property
Field Value
BuyText2ColorProperty
Color of the colored buy text (green/red).
public static readonly DependencyProperty BuyText2ColorProperty
Field Value
BuyText2Property
Colored part of price on buy button.
public static readonly DependencyProperty BuyText2Property
Field Value
SecurityProperty
Security.
public static readonly DependencyProperty SecurityProperty
Field Value
SellBackgroundProperty
Sell button background.
public static readonly DependencyProperty SellBackgroundProperty
Field Value
SellText1Property
Grey part of price on sell button.
public static readonly DependencyProperty SellText1Property
Field Value
SellText2ColorProperty
Color of the colored sell text (green/red).
public static readonly DependencyProperty SellText2ColorProperty
Field Value
SellText2Property
Colored part of price on sell button.
public static readonly DependencyProperty SellText2Property
Field Value
SpreadTextProperty
Spread text.
public static readonly DependencyProperty SpreadTextProperty
Field Value
VolumeProperty
Selected volume value.
public static readonly DependencyProperty VolumeProperty
Field Value
Properties
BuyBackground
Buy button background.
public Brush BuyBackground { get; set; }
Property Value
BuyCaps
BUY
public string BuyCaps { get; }
Property Value
Security
Security.
public Security Security { get; set; }
Property Value
SellBackground
Sell button background.
public Brush SellBackground { get; set; }
Property Value
SellCaps
SELL
public string SellCaps { get; }
Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Events
RegisterOrder
The event of the order registration.
public event Action<Order> RegisterOrder
Event Type
SettingsChanged
The panel settings change event.
public event Action SettingsChanged