Table of Contents

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

RoutedCommand

RequestStoryCommand

The command for the news request.

public static readonly RoutedCommand RequestStoryCommand

Field Value

RoutedCommand

Properties

FirstSelectedNews

Selected news item.

public News FirstSelectedNews { get; }

Property Value

News

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

int

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

INewsProvider

SelectedNews

Selected news items.

public IEnumerable<News> SelectedNews { get; }

Property Value

IEnumerable<News>

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()