QuickOrderPanel

StockSharp.Xaml

Painel para transações de pedidos rápidos.

Herda de: UserControl

Implementa: IPersistable, IComponentConnector

Construtores

QuickOrderPanel
public QuickOrderPanel()
quickOrderPanel = QuickOrderPanel()

Inicializa uma nova instância do QuickOrderPanel.

Propriedades

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

Comprar fundo do botão.

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

COMPRAR

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

Instrumento financeiro.

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

Vender o fundo do botão.

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

VENDA

Métodos

InitializeComponent
public void InitializeComponent()
quickOrderPanel.InitializeComponent()

InitializeComponent

Load
public void Load(SettingsStorage storage)
quickOrderPanel.Load(storage)

Carregar as configurações.

storage
Configuração do armazenamento.
Save
public void Save(SettingsStorage storage)
quickOrderPanel.Save(storage)

Gravar as definições.

storage
Configuração do armazenamento.

Eventos

RegisterOrder
public event Action<Order> RegisterOrder
quickOrderPanel.RegisterOrder += handler

O evento do registro da ordem.

SettingsChanged
public event Action SettingsChanged
quickOrderPanel.SettingsChanged += handler

As configurações do painel mudam o evento.

Campos

BuyBackgroundProperty
public static readonly DependencyProperty BuyBackgroundProperty
value = QuickOrderPanel.BuyBackgroundProperty

Comprar fundo do botão.

BuyText1Property
public static readonly DependencyProperty BuyText1Property
value = QuickOrderPanel.BuyText1Property

Parte cinzenta do preço no botão de compra.

BuyText2ColorProperty
public static readonly DependencyProperty BuyText2ColorProperty
value = QuickOrderPanel.BuyText2ColorProperty

Cor do texto de compra colorido (verde/vermelho).

BuyText2Property
public static readonly DependencyProperty BuyText2Property
value = QuickOrderPanel.BuyText2Property

Parte colorida do preço no botão de compra.

SecurityProperty
public static readonly DependencyProperty SecurityProperty
value = QuickOrderPanel.SecurityProperty

Instrumento financeiro.

SellBackgroundProperty
public static readonly DependencyProperty SellBackgroundProperty
value = QuickOrderPanel.SellBackgroundProperty

Vender o fundo do botão.

SellText1Property
public static readonly DependencyProperty SellText1Property
value = QuickOrderPanel.SellText1Property

Parte cinzenta do preço no botão de venda.

SellText2ColorProperty
public static readonly DependencyProperty SellText2ColorProperty
value = QuickOrderPanel.SellText2ColorProperty

Cor do texto de venda colorida (verde/vermelho).

SellText2Property
public static readonly DependencyProperty SellText2Property
value = QuickOrderPanel.SellText2Property

Parte colorida do preço no botão de venda.

SpreadTextProperty
public static readonly DependencyProperty SpreadTextProperty
value = QuickOrderPanel.SpreadTextProperty

Espalhem o texto.

VolumeProperty
public static readonly DependencyProperty VolumeProperty
value = QuickOrderPanel.VolumeProperty

Valor de volume selecionado.