TemplatedItemsList<TView,TItem> Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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)
Parametry typu
- TView
- TItem
- Dědičnost
- Implementuje
Pole
NameProperty |
Vázatelná vlastnost pro Name. |
ShortNameProperty |
Vázatelná vlastnost pro ShortName. |
Vlastnosti
BindingContext |
Získá nebo nastaví objekt, který obsahuje vlastnosti, které budou cílem vázané vlastnosti, které patří do tohoto BindableObject. Jedná se o vázanou vlastnost. (Zděděno od BindableObject) |
Count | |
Dispatcher |
Získá dispečer, který byl k dispozici při vytvoření tohoto objektu vazby, jinak se pokusí najít nejbližší dostupný dispečer (pravděpodobně okno nebo aplikace). (Zděděno od BindableObject) |
GroupDisplayBinding | |
GroupHeaderTemplate | |
GroupHeaderTemplateProperty | |
GroupShortNameBinding | |
HeaderContent | |
IsGroupingEnabled | |
IsGroupingEnabledProperty | |
Item[Int32] | |
ItemsSource | |
Name | |
Parent | |
ProgressiveLoadingProperty | |
ShortName | |
ShortNames |
Metody
Událost
BindingContextChanged |
Nastane, když se změní hodnota BindingContext vlastnosti. (Zděděno od BindableObject) |
CollectionChanged | |
GroupedCollectionChanged | |
PropertyChanged |
Nastane při změně hodnoty vlastnosti. (Zděděno od BindableObject) |
PropertyChanging |
Nastane, když se hodnota vlastnosti mění. (Zděděno od BindableObject) |
Explicitní implementace rozhraní
Metody rozšíření
Platí pro
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro