NewsMessagePanel

StockSharp.Xaml.Windows.Maui

News message panel with list and story preview for mobile.

继承自: ContentView

构造函数

NewsMessagePanel()

Creates a new instance.

属性

ItemsSource : IEnumerable<NewsMessage>

Gets or sets the items source.

MaxCount : int

Gets or sets the maximum number of items.

SelectedMessage : NewsMessageGridItem

Gets the selected message.

SubscriptionProvider : ISubscriptionProvider

Gets or sets the subscription provider.

ViewModel : NewsMessagePanelViewModel

Gets the ViewModel.

方法

AddMessage(NewsMessage)

Adds a news message.

AddMessages(IEnumerable<NewsMessage>)

Adds multiple news messages.

Clear()

Clears all messages.

UpdateMessageStory(string, string)

Updates message story.

事件

SelectionChanged : EventHandler<SelectionChangedEventArgs>

Selection changed event.

字段

ItemsSourceProperty : BindableProperty

Items source bindable property.

MaxCountProperty : BindableProperty

Max count bindable property.

SubscriptionProviderProperty : BindableProperty

Subscription provider bindable property.