TradeGrid

StockSharp.Xaml

The table showing tick trades (ITickTradeMessage).

継承元: BaseGridControl

実装: IComponentConnector

コンストラクター

TradeGrid()

Initializes a new instance of the TradeGrid.

プロパティ

MaxCount : int

The maximum number of trades to display. The -1 value means an unlimited amount. The default value is 1000000.

SelectedTrade : ITickTradeMessage

The selected trade.

Source : IEnumerable<ITickTradeMessage>

External collection to display (MVVM mode). When bound, the grid mirrors it into the internal thread-safe, MaxCount-capped buffer, so a caller can bind a plain view-model collection without losing the grid's UI-thread marshalling. The high-performance alternative is to feed Trades directly; do not use both at once.

Trades : IListEx<ITickTradeMessage>

List of trades added to the table. High-performance mode: feed this collection directly (it is thread-safe and capped by MaxCount).

メソッド

InitializeComponent()

InitializeComponent

フィールド

SourceProperty : DependencyProperty

Source dependency property.