NewsMessagePanel

StockSharp.Xaml

The visual panel with the news.

Inherits: UserControl

Implements: IPersistable, IComponentConnector

Constructors

NewsMessagePanel
public NewsMessagePanel()
newsMessagePanel = NewsMessagePanel()

Initializes a new instance of the NewsMessagePanel.

Properties

ItemsSource
public IEnumerable<NewsMessage> ItemsSource { get; set; }
value = newsMessagePanel.ItemsSource
newsMessagePanel.ItemsSource = value

Items source for binding.

SubscriptionProvider
public ISubscriptionProvider SubscriptionProvider { get; set; }
value = newsMessagePanel.SubscriptionProvider
newsMessagePanel.SubscriptionProvider = value

The provider of subscriptions.

Methods

InitializeComponent
public void InitializeComponent()
newsMessagePanel.InitializeComponent()

InitializeComponent

Load
public void Load(SettingsStorage storage)
newsMessagePanel.Load(storage)

Load settings.

storage
Settings storage.
Save
public void Save(SettingsStorage storage)
newsMessagePanel.Save(storage)

Save settings.

storage
Settings storage.

Fields

ItemsSourceProperty
public static readonly DependencyProperty ItemsSourceProperty
value = NewsMessagePanel.ItemsSourceProperty

DependencyProperty for ItemsSource.

NewsGrid
public NewsMessageGrid NewsGrid
value = newsMessagePanel.NewsGrid

NewsGrid Name Field