BaseListView

StockSharp.Xaml.Grids.Maui

Base class for trading data list views (card-based for mobile).

継承元: ContentView

コンストラクター

BaseListView()

Creates a new instance.

プロパティ

CollectionView : CollectionView

Gets the internal CollectionView.

ItemsSource : IEnumerable

Gets or sets the items source.

SelectedItem : object

Gets or sets the selected item.

ShowSearch : bool

Gets or sets whether to show the search bar.

メソッド

CreateItemTemplate() : DataTemplate

Creates the item template for the list. Override in derived classes.

FilterItem(object, string) : bool

Filters items based on search text. Override to implement search.

ScrollTo(object, ScrollToPosition, bool)

Scrolls to the specified item.

イベント

ItemTapped : EventHandler<object>

Item tapped event.

SearchTextChanged : EventHandler<string>

Search text changed event.

SelectionChanged : EventHandler<SelectionChangedEventArgs>

Selection changed event.

フィールド

ItemsSourceProperty : BindableProperty

Items source bindable property.

SelectedItemProperty : BindableProperty

Selected item bindable property.

ShowSearchProperty : BindableProperty

Show search bar bindable property.