Class NewsGrid
- Namespace
- StockSharp.Xaml
- Assembly
- StockSharp.Xaml.dll
The table showing the news (News).
public class NewsGrid : BaseGridControl, IPersistable, IComponentConnector
- Inheritance
-
NewsGrid
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
NewsGrid()
Initializes a new instance of the NewsGrid.
public NewsGrid()
Fields
OpenUrlCommand
The command for the news link opening.
public static readonly RoutedCommand OpenUrlCommand
Field Value
RequestStoryCommand
The command for the news request.
public static readonly RoutedCommand RequestStoryCommand
Field Value
Properties
FirstSelectedNews
Selected news item.
public News FirstSelectedNews { get; }
Property Value
MaxCount
The maximum number of news to display. The -1 value means an unlimited amount. The default value is 10000.
public int MaxCount { get; set; }
Property Value
News
The list of news added to the table.
public IListEx<News> News { get; }
Property Value
- IListEx<News>
NewsProvider
The provider of information about news.
public INewsProvider NewsProvider { get; set; }
Property Value
SelectedNews
Selected news items.
public IEnumerable<News> SelectedNews { get; }
Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()