NewsGrid
StockSharp.Xaml
The table showing the news (News).
Inherits: BaseGridControl
Implements: IComponentConnector
Constructors
Properties
FirstSelectedNews
public News FirstSelectedNews { get; }
value = newsGrid.FirstSelectedNews
Selected news item.
MaxCount
public int MaxCount { get; set; }
value = newsGrid.MaxCount
newsGrid.MaxCount = value
The maximum number of news to display. The -1 value means an unlimited amount. The default value is 10000.
SelectedNews
public IEnumerable<News> SelectedNews { get; }
value = newsGrid.SelectedNews
Selected news items.
SubscriptionProvider
public ISubscriptionProvider SubscriptionProvider { get; set; }
value = newsGrid.SubscriptionProvider
newsGrid.SubscriptionProvider = value
The provider of subscriptions.
Methods
InitializeComponent
public void InitializeComponent()
newsGrid.InitializeComponent()
InitializeComponent
Fields
OpenUrlCommand
public static readonly RoutedCommand OpenUrlCommand
value = NewsGrid.OpenUrlCommand
The command for the news link opening.
RequestStoryCommand
public static readonly RoutedCommand RequestStoryCommand
value = NewsGrid.RequestStoryCommand
The command for the news request.