NewsPanel

StockSharp.Xaml

带新闻的视觉面板.

继承自: UserControl

实现: IAsyncPersistable, IComponentConnector

构造函数

NewsPanel
public NewsPanel()
newsPanel = NewsPanel()

初始化了 & ##NewsPanel+#的新实例.

属性

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

供养供养.

方法

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

返回值: Task

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

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

返回值: Task

事件

LayoutChanged
public event Action LayoutChanged
newsPanel.LayoutChanged += handler

版式已更改 。

字段

NewsGrid
public NewsGrid NewsGrid
value = newsPanel.NewsGrid

\\\ NewsGrid\\\\\\ 名称字段