Class OrderGrid
- Namespace
- StockSharp.Xaml
- Assembly
- StockSharp.Xaml.dll
The table showing orders (Order).
public class OrderGrid : BaseGridControl, IPersistable, IComponentConnector
- Inheritance
-
OrderGrid
- Implements
-
IPersistable
- 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 CancelOrderCommand
Field Value
CopyErrorCommand
The command for the copying of the error text.
public static readonly RoutedCommand CopyErrorCommand
Field Value
ReRegisterOrderCommand
The command for the order re-registration.
public static readonly RoutedCommand ReRegisterOrderCommand
Field Value
RegisterOrderCommand
The command for the order registration.
public static readonly RoutedCommand RegisterOrderCommand
Field 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
- IListEx<Order>
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
fail
OrderFailError.
InitializeComponent()
InitializeComponent
public void InitializeComponent()
OnOrderAdded(Order)
The method is called when a new order added.
protected virtual void OnOrderAdded(Order order)
Parameters
order
OrderOrder.
RaiseSelectionChanged(GridSelectionChangedEventArgs)
Raise SelectedOrderChanged event.
protected override void RaiseSelectionChanged(GridSelectionChangedEventArgs e)
Parameters
e
GridSelectionChangedEventArgs
Events
OrderCanceling
The selected order cancel event.
public event Action<Order> OrderCanceling
Event Type
OrderReRegistering
The order re-registration event.
public event Action<Order> OrderReRegistering
Event Type
OrderRegistering
The order registration event.
public event Action OrderRegistering
Event Type
OrdersCanceling
The selected orders cancel event.
public event Action<IEnumerable<Order>> OrdersCanceling
Event Type
SelectedOrderChanged
Selected order changed.
public event Action SelectedOrderChanged