Share via


TemplatedItemsList<TView,TItem> Classe

Definição

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)

Parâmetros de tipo

TView
TItem
Herança
TemplatedItemsList<TView,TItem>
Implementações

Campos

NameProperty

Propriedade associável para Name.

ShortNameProperty

Propriedade associável para ShortName.

Propriedades

BindingContext

Obtém ou define um objeto que contém as propriedades que serão direcionadas pelas propriedades associadas que pertencem a este BindableObject. Esta é uma propriedade associável.

(Herdado de BindableObject)
Count
Dispatcher

Obtém o dispatcher que estava disponível quando esse objeto associável foi criado, caso contrário, tenta encontrar o dispatcher disponível mais próximo (provavelmente o da janela/aplicativo).

(Herdado de BindableObject)
GroupDisplayBinding
GroupHeaderTemplate
GroupHeaderTemplateProperty
GroupShortNameBinding
HeaderContent
IsGroupingEnabled
IsGroupingEnabledProperty
Item[Int32]
ItemsSource
Name
Parent
ProgressiveLoadingProperty
ShortName
ShortNames

Métodos

ActivateContent(Int32, Object)
ApplyBindings()

Aplica todas as associações atuais a BindingContext.

(Herdado de BindableObject)
ClearValue(BindableProperty)

Limpa qualquer valor definido anteriormente para uma propriedade associável.

(Herdado de BindableObject)
ClearValue(BindablePropertyKey)

Limpa qualquer valor definido anteriormente para uma propriedade associável, identificada por sua chave.

(Herdado de BindableObject)
CoerceValue(BindableProperty)

Coagi o valor da propriedade associável especificada. Isso é feito invocando BindableProperty.CoerceValueDelegate a propriedade associável especificada.

(Herdado de BindableObject)
CoerceValue(BindablePropertyKey)

Coagi o valor da propriedade associável especificada. Isso é feito invocando BindableProperty.CoerceValueDelegate a propriedade associável especificada.

(Herdado de BindableObject)
CreateContent(Int32, Object, Boolean)
Dispose()
GetDescendantCount()
GetEnumerator()
GetGlobalIndexForGroup(ITemplatedItemsList<TItem>)
GetGlobalIndexOfGroup(Object)
GetGlobalIndexOfItem(Object)
GetGlobalIndexOfItem(Object, Object)
GetGroupAndIndexOfItem(Object)
GetGroupAndIndexOfItem(Object, Object)
GetGroupIndexFromGlobal(Int32, Int32)
GetValue(BindableProperty)

Retorna o valor contido na propriedade associável fornecida.

(Herdado de BindableObject)
IndexOf(TItem)
IsSet(BindableProperty)

Determina se existe ou não uma propriedade associável e tem um valor definido.

(Herdado de BindableObject)
OnBindingContextChanged()

Aciona o evento BindingContextChanged.

(Herdado de BindableObject)
OnPropertyChanged(String)

Aciona o evento PropertyChanged.

(Herdado de BindableObject)
OnPropertyChanging(String)

Aciona o evento PropertyChanging.

(Herdado de BindableObject)
RemoveBinding(BindableProperty)

Remove uma associação definida anteriormente de uma propriedade associável.

(Herdado de BindableObject)
SelectDataTemplate(Object)
SetBinding(BindableProperty, BindingBase)

Atribui uma associação a uma propriedade associável.

(Herdado de BindableObject)
SetValue(BindableProperty, Object)

Define o valor da propriedade associável especificada.

(Herdado de BindableObject)
SetValue(BindablePropertyKey, Object)

Define o valor da propriedade associável especificada.

(Herdado de BindableObject)
SetValueCore(BindableProperty, Object, SetValueFlags)

Para uso interno pela plataforma Microsoft.Maui.Controls.

(Herdado de BindableObject)
UnapplyBindings()

Remove todas as associações atuais do contexto atual.

(Herdado de BindableObject)

Eventos

BindingContextChanged

Ocorre quando o valor da propriedade BindingContext muda.

(Herdado de BindableObject)
CollectionChanged
GroupedCollectionChanged
PropertyChanged

Ocorre quando um valor de propriedade é alterado.

(Herdado de BindableObject)
PropertyChanging

Ocorre quando um valor da propriedade está sendo alterado.

(Herdado de BindableObject)

Implantações explícitas de interface

ICollection.CopyTo(Array, Int32)
ICollection.IsSynchronized
ICollection.SyncRoot
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String) (Herdado de BindableObject)
IEnumerable.GetEnumerator()
IList.Add(Object)
IList.Clear()
IList.Contains(Object)
IList.IndexOf(Object)
IList.Insert(Int32, Object)
IList.IsFixedSize
IList.IsReadOnly
IList.Item[Int32]
IList.Remove(Object)
IList.RemoveAt(Int32)
ITemplatedItemsList<TItem>.BindingContext
ITemplatedItemsList<TItem>.GetGroup(Int32)
ITemplatedItemsList<TItem>.GroupedCollectionChanged
ITemplatedItemsList<TItem>.ListProxy
ITemplatedItemsList<TItem>.PropertyChanged
ITemplatedItemsList<TItem>.UpdateContent(TItem, Int32)
ITemplatedItemsList<TItem>.UpdateHeader(TItem, Int32)

Métodos de Extensão

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)
SetAppTheme<T>(BindableObject, BindableProperty, T, T)
SetAppThemeColor(BindableObject, BindableProperty, Color, Color)
SetBinding(BindableObject, BindableProperty, String, BindingMode, IValueConverter, String)

Cria e aplica uma associação a uma propriedade.

Aplica-se a