NewsPanel

StockSharp.Xaml.Windows.Maui

News panel with list and story preview for mobile.

继承自: ContentView

构造函数

NewsPanel()

Creates a new instance.

属性

MaxCount : int

Gets or sets the maximum number of items.

SelectedNews : NewsGridItem

Gets the selected news item.

SubscriptionProvider : ISubscriptionProvider

Gets or sets the subscription provider.

ViewModel : NewsPanelViewModel

Gets the ViewModel.

方法

AddNews(News)

Adds a news item.

AddNews(IEnumerable<News>)

Adds multiple news items.

Clear()

Clears all news.

UpdateNewsStory(string, string)

Updates news story.

事件

SelectionChanged : EventHandler<SelectionChangedEventArgs>

Selection changed event.

字段

MaxCountProperty : BindableProperty

Max count bindable property.

SubscriptionProviderProperty : BindableProperty

Subscription provider bindable property.