NewsPanel

StockSharp.Xaml

The visual panel with the news.

Inherits: UserControl

Implements: IAsyncPersistable, IComponentConnector

Constructors

NewsPanel
public NewsPanel()
newsPanel = NewsPanel()

Initializes a new instance of the NewsPanel.

Properties

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

The provider of subscriptions.

Methods

InitializeComponent
public void InitializeComponent()
newsPanel.InitializeComponent()

InitializeComponent

LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = newsPanel.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task

SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = newsPanel.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task

Events

LayoutChanged
public event Action LayoutChanged
newsPanel.LayoutChanged += handler

Layout changed event.

Fields

NewsGrid
public NewsGrid NewsGrid
value = newsPanel.NewsGrid

NewsGrid Name Field