Level1Grid
StockSharp.Xaml
The table to display a message Level1ChangeMessage.
Inherits: BaseGridControl
Implements: IComponentConnector
Constructors
Level1Grid
public Level1Grid()
level1Grid = Level1Grid()
Initializes a new instance of the Level1Grid.
Properties
MaxCount
public int MaxCount { get; set; }
value = level1Grid.MaxCount
level1Grid.MaxCount = value
The maximum number of messages to display. The -1 value means an unlimited amount. The default value is 10000.
Messages
public IListEx<Level1ChangeMessage> Messages { get; }
value = level1Grid.Messages
The list of messages added to the table. High-performance mode: feed this directly.
SelectedMessage
public Level1ChangeMessage SelectedMessage { get; }
value = level1Grid.SelectedMessage
The selected message.
SelectedMessages
public IEnumerable<Level1ChangeMessage> SelectedMessages { get; }
value = level1Grid.SelectedMessages
Selected messages.
Source
public IEnumerable<Level1ChangeMessage> Source { get; set; }
value = level1Grid.Source
level1Grid.Source = value
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 Messages directly; do not use both at once.
Methods
InitializeComponent
public void InitializeComponent()
level1Grid.InitializeComponent()
InitializeComponent
Fields
SourceProperty
public static readonly DependencyProperty SourceProperty
value = Level1Grid.SourceProperty
Source dependency property.