Class OrderGrid
- Namespace
- StockSharp.Xaml
- Assembly
- StockSharp.Xaml.dll
The table showing orders (Order).
public class OrderGrid : BaseGridControl, IPersistable, IComponentConnector- Inheritance
- 
      
      
      OrderGrid
- Implements
- Inherited Members
- Extension Methods
Constructors
OrderGrid()
Initializes a new instance of the OrderGrid.
public OrderGrid()Fields
CancelOrderCommand
The command for the cancel of selected orders.
public static readonly RoutedCommand CancelOrderCommandField Value
CopyErrorCommand
The command for the copying of the error text.
public static readonly RoutedCommand CopyErrorCommandField Value
ReRegisterOrderCommand
The command for the order re-registration.
public static readonly RoutedCommand ReRegisterOrderCommandField Value
RegisterOrderCommand
The command for the order registration.
public static readonly RoutedCommand RegisterOrderCommandField Value
Properties
IsInteractive
Interactive mode.
public bool IsInteractive { get; set; }Property Value
MaxCount
The maximum number of orders to display. The -1 value means unlimited amount. The default is 100000.
public int MaxCount { get; set; }Property Value
Orders
The list of orders that have been added to the table.
public IListEx<Order> Orders { get; }Property Value
SelectedOrder
The selected order.
public Order SelectedOrder { get; }Property Value
SelectedOrders
Selected orders.
public IEnumerable<Order> SelectedOrders { get; }Property Value
Methods
AddRegistrationFail(OrderFail)
To add a description of the registration error to the table.
public void AddRegistrationFail(OrderFail fail)Parameters
- failOrderFail
- Error. 
InitializeComponent()
InitializeComponent
public void InitializeComponent()OnOrderAdded(Order)
The method is called when a new order added.
protected virtual void OnOrderAdded(Order order)Parameters
- orderOrder
- Order. 
RaiseSelectionChanged(GridSelectionChangedEventArgs)
Raise SelectedOrderChanged event.
protected override void RaiseSelectionChanged(GridSelectionChangedEventArgs e)Parameters
- eGridSelectionChangedEventArgs
Events
OrderCanceling
The selected order cancel event.
public event Action<Order> OrderCancelingEvent Type
OrderReRegistering
The order re-registration event.
public event Action<Order> OrderReRegisteringEvent Type
OrderRegistering
The order registration event.
public event Action OrderRegisteringEvent Type
OrdersCanceling
The selected orders cancel event.
public event Action<IEnumerable<Order>> OrdersCancelingEvent Type
SelectedOrderChanged
Selected order changed.
public event Action SelectedOrderChanged