OrderGrid

StockSharp.Xaml

The table showing orders (Order).

Herda de: BaseGridControl

Implementa: IComponentConnector

Construtores

OrderGrid()

Initializes a new instance of the OrderGrid.

Propriedades

IsInteractive : bool

Interactive mode.

MaxCount : int

The maximum number of orders to display. The -1 value means unlimited amount. The default is 100000.

Orders : IListEx<Order>

The list of orders that have been added to the table. High-performance mode: feed this directly.

SelectedOrder : Order

The selected order.

SelectedOrders : IEnumerable<Order>

Selected orders.

Source : IEnumerable<Order>

External collection to display (MVVM mode); mirrored into the grid's internal thread-safe buffer so a plain view-model collection can be bound without losing the UI-thread marshalling. The high-performance alternative is to feed Orders directly; do not use both at once.

Métodos

AddRegistrationFail(OrderFail)

To add a description of the registration error to the table.

fail
Error.
InitializeComponent()

InitializeComponent

OnOrderAdded(Order)

The method is called when a new order added.

order
Order.
RaiseSelectionChanged(GridSelectionChangedEventArgs)

Raise SelectedOrderChanged event.

e

Eventos

OrderCanceling : Action<Order>

The selected order cancel event.

OrderRegistering : Action

The order registration event.

OrderReRegistering : Action<Order>

The order re-registration event.

OrdersCanceling : Action<IEnumerable<Order>>

The selected orders cancel event.

SelectedOrderChanged : Action

Selected order changed.

Campos

CancelOrderCommand : RoutedCommand

The command for the cancel of selected orders.

CopyErrorCommand : RoutedCommand

The command for the copying of the error text.

RegisterOrderCommand : RoutedCommand

The command for the order registration.

ReRegisterOrderCommand : RoutedCommand

The command for the order re-registration.

SourceProperty : DependencyProperty

Source dependency property.