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.
События
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.