QuickOrderPanel

StockSharp.Xaml

快速订单交易小组。

继承自: UserControl

实现: IPersistable, IComponentConnector

构造函数

QuickOrderPanel
public QuickOrderPanel()
quickOrderPanel = QuickOrderPanel()

初始化了 & ##QuickOrderPanel+#的新实例.

属性

BuyBackground
public Brush BuyBackground { get; set; }
value = quickOrderPanel.BuyBackground
quickOrderPanel.BuyBackground = value

购买按钮背景 。

BuyCaps
public string BuyCaps { get; }
value = quickOrderPanel.BuyCaps

英国

Security
public Security Security { get; set; }
value = quickOrderPanel.Security
quickOrderPanel.Security = value

金融工具。

SellBackground
public Brush SellBackground { get; set; }
value = quickOrderPanel.SellBackground
quickOrderPanel.SellBackground = value

卖出按钮背景 。

SellCaps
public string SellCaps { get; }
value = quickOrderPanel.SellCaps

卖出

方法

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

所选量值.