QuickOrderPanel

StockSharp.Xaml

Panel para transacciones de pedidos rápidos.

Hereda de: UserControl

Implementa: IAsyncPersistable, IComponentConnector

Constructores

QuickOrderPanel
public QuickOrderPanel()
quickOrderPanel = QuickOrderPanel()

Inicia una nueva instancia de la QuickOrderPanel.

Propiedades

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

Comprar fondo de botón.

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

BUY

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

instrumento financiero.

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

Vende fondo de botón.

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

SELL

Métodos

InitializeComponent
public void InitializeComponent()
quickOrderPanel.InitializeComponent()

InitializeComponent

LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = quickOrderPanel.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Devuelve: Task

SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = quickOrderPanel.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Devuelve: Task

Eventos

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

El evento del registro de pedidos.

SettingsChanged
public event Action SettingsChanged
quickOrderPanel.SettingsChanged += handler

La configuración del panel cambia el evento.

Campos

BuyBackgroundProperty
public static readonly DependencyProperty BuyBackgroundProperty
value = QuickOrderPanel.BuyBackgroundProperty

Comprar fondo de botón.

BuyText1Property
public static readonly DependencyProperty BuyText1Property
value = QuickOrderPanel.BuyText1Property

Parte gris del precio en el botón de compra.

BuyText2ColorProperty
public static readonly DependencyProperty BuyText2ColorProperty
value = QuickOrderPanel.BuyText2ColorProperty

Color del texto de compra de colores (verde/rojo).

BuyText2Property
public static readonly DependencyProperty BuyText2Property
value = QuickOrderPanel.BuyText2Property

Parte de color del precio en el botón de compra.

SecurityProperty
public static readonly DependencyProperty SecurityProperty
value = QuickOrderPanel.SecurityProperty

instrumento financiero.

SellBackgroundProperty
public static readonly DependencyProperty SellBackgroundProperty
value = QuickOrderPanel.SellBackgroundProperty

Vende fondo de botón.

SellText1Property
public static readonly DependencyProperty SellText1Property
value = QuickOrderPanel.SellText1Property

Parte gris del precio en el botón de venta.

SellText2ColorProperty
public static readonly DependencyProperty SellText2ColorProperty
value = QuickOrderPanel.SellText2ColorProperty

Color del texto de venta de colores (verde/rojo).

SellText2Property
public static readonly DependencyProperty SellText2Property
value = QuickOrderPanel.SellText2Property

Parte de color del precio en el botón de venta.

SpreadTextProperty
public static readonly DependencyProperty SpreadTextProperty
value = QuickOrderPanel.SpreadTextProperty

Texto de la panificación.

VolumeProperty
public static readonly DependencyProperty VolumeProperty
value = QuickOrderPanel.VolumeProperty

Valor de volumen seleccionado.