TemplatedItemsList<TView,TItem> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
generic <typename TView, typename TItem>
where TView : BindableObject, IItemsView<TItem> where TItem : BindableObjectpublic ref class TemplatedItemsList sealed : Microsoft::Maui::Controls::BindableObject, IDisposable, Microsoft::Maui::Controls::ITemplatedItemsList<TItem>, System::Collections::Generic::IEnumerable<TItem>, System::Collections::Generic::IReadOnlyCollection<TItem>, System::Collections::Generic::IReadOnlyList<TItem>, System::Collections::IList, System::Collections::Specialized::INotifyCollectionChanged
public sealed class TemplatedItemsList<TView,TItem> : Microsoft.Maui.Controls.BindableObject, IDisposable, Microsoft.Maui.Controls.ITemplatedItemsList<TItem>, System.Collections.Generic.IEnumerable<TItem>, System.Collections.Generic.IReadOnlyCollection<TItem>, System.Collections.Generic.IReadOnlyList<TItem>, System.Collections.IList, System.Collections.Specialized.INotifyCollectionChanged where TView : BindableObject, IItemsView<TItem> where TItem : BindableObject
type TemplatedItemsList<'View, 'Item (requires 'View :> BindableObject and 'View :> IItemsView<'Item> and 'Item :> BindableObject)> = class
inherit BindableObject
interface ITemplatedItemsList<'Item (requires 'Item :> BindableObject)>
interface IReadOnlyList<'Item (requires 'Item :> BindableObject)>
interface seq<'Item (requires 'Item :> BindableObject)>
interface IEnumerable
interface IReadOnlyCollection<'Item (requires 'Item :> BindableObject)>
interface INotifyCollectionChanged
interface IList
interface ICollection
interface IDisposable
Public NotInheritable Class TemplatedItemsList(Of TView, TItem)
Inherits BindableObject
Implements IDisposable, IEnumerable(Of TItem), IList, INotifyCollectionChanged, IReadOnlyCollection(Of TItem), IReadOnlyList(Of TItem), ITemplatedItemsList(Of TItem)
Type Parameters
- TView
- TItem
- Inheritance
- Implements
Fields
NameProperty |
Bindable property for Name. |
ShortNameProperty |
Bindable property for ShortName. |
Properties
BindingContext |
Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property. (Inherited from BindableObject) |
Count | |
Dispatcher |
Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window's/app's). (Inherited from BindableObject) |
GroupDisplayBinding | |
GroupHeaderTemplate | |
GroupHeaderTemplateProperty | |
GroupShortNameBinding | |
HeaderContent | |
IsGroupingEnabled | |
IsGroupingEnabledProperty | |
Item[Int32] | |
ItemsSource | |
Name | |
Parent | |
ProgressiveLoadingProperty | |
ShortName | |
ShortNames |
Methods
ActivateContent(Int32, Object) | |
ApplyBindings() |
Applies all the current bindings to BindingContext. (Inherited from BindableObject) |
ClearValue(BindableProperty) |
Clears any value that is previously set for a bindable property. (Inherited from BindableObject) |
ClearValue(BindablePropertyKey) |
Clears any value that is previously set for a bindable property, identified by its key. (Inherited from BindableObject) |
CoerceValue(BindableProperty) |
Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property. (Inherited from BindableObject) |
CoerceValue(BindablePropertyKey) |
Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property. (Inherited from BindableObject) |
CreateContent(Int32, Object, Boolean) | |
Dispose() | |
GetDescendantCount() | |
GetEnumerator() | |
GetGlobalIndexForGroup(ITemplatedItemsList<TItem>) | |
GetGlobalIndexOfGroup(Object) | |
GetGlobalIndexOfItem(Object, Object) | |
GetGlobalIndexOfItem(Object) | |
GetGroupAndIndexOfItem(Object, Object) | |
GetGroupAndIndexOfItem(Object) | |
GetGroupIndexFromGlobal(Int32, Int32) | |
GetValue(BindableProperty) |
Returns the value that is contained in the given bindable property. (Inherited from BindableObject) |
IndexOf(TItem) | |
IsSet(BindableProperty) |
Determines whether or not a bindable property exists and has a value set. (Inherited from BindableObject) |
OnBindingContextChanged() |
Raises the BindingContextChanged event. (Inherited from BindableObject) |
OnPropertyChanged(String) |
Raises the PropertyChanged event. (Inherited from BindableObject) |
OnPropertyChanging(String) |
Raises the PropertyChanging event. (Inherited from BindableObject) |
RemoveBinding(BindableProperty) |
Removes a previously set binding from a bindable property. (Inherited from BindableObject) |
SelectDataTemplate(Object) | |
SetBinding(BindableProperty, BindingBase) |
Assigns a binding to a bindable property. (Inherited from BindableObject) |
SetValue(BindableProperty, Object) |
Sets the value of the specified bindable property. (Inherited from BindableObject) |
SetValue(BindablePropertyKey, Object) |
Sets the value of the specified bindable property. (Inherited from BindableObject) |
UnapplyBindings() |
Removes all current bindings from the current context. (Inherited from BindableObject) |
Events
BindingContextChanged |
Occurs when the value of the BindingContext property changes. (Inherited from BindableObject) |
CollectionChanged | |
GroupedCollectionChanged | |
PropertyChanged |
Occurs when a property value changes. (Inherited from BindableObject) |
PropertyChanging |
Occurs when a property value is changing. (Inherited from BindableObject) |
Explicit Interface Implementations
Extension Methods
GetPropertyIfSet<T>(BindableObject, BindableProperty, T) | |
SetAppTheme<T>(BindableObject, BindableProperty, T, T) | |
SetAppThemeColor(BindableObject, BindableProperty, Color, Color) | |
SetBinding(BindableObject, BindableProperty, String, BindingMode, IValueConverter, String) |
Creates and applies a binding to a property. |
SetBinding<TSource,TProperty>(BindableObject, BindableProperty, Func<TSource,TProperty>, BindingMode, IValueConverter, Object, String, Object, Object, Object) |
Creates a binding between a property on the source object and a property on the target object. |