Share via


TemplatedItemsList<TView,TItem> Class

Definition

For internal use by the Xamarin.Forms platform.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class TemplatedItemsList<TView,TItem> : Xamarin.Forms.BindableObject, IDisposable, System.Collections.Generic.IEnumerable<TItem>, System.Collections.Generic.IReadOnlyCollection<TItem>, System.Collections.Generic.IReadOnlyList<TItem>, System.Collections.IList, System.Collections.Specialized.INotifyCollectionChanged, Xamarin.Forms.ITemplatedItemsList<TItem> 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

Type Parameters

TView

For internal use by the Xamarin.Forms platform.

TItem

For internal use by the Xamarin.Forms platform.

Inheritance
System.Object
TemplatedItemsList<TView,TItem>
Attributes
System.ComponentModel.EditorBrowsableAttribute
Implements
System.Collections.Generic.IEnumerable<T> System.Collections.Generic.IEnumerable<TItem> System.Collections.Generic.IReadOnlyCollection<T> System.Collections.Generic.IReadOnlyCollection<TItem> System.Collections.Generic.IReadOnlyList<TItem> System.Collections.ICollection System.Collections.IEnumerable System.Collections.IList System.Collections.Specialized.INotifyCollectionChanged System.IDisposable ITemplatedItemsList<TItem>

Fields

NameProperty

For internal use by the Xamarin.Forms platform.

ShortNameProperty

For internal use by the Xamarin.Forms platform.

Properties

BindingContext

Gets or sets object that contains the properties that will be targeted by the bound properties that belong to this BindableObject.

(Inherited from BindableObject)
Count

For internal use by the Xamarin.Forms platform.

Dispatcher (Inherited from BindableObject)
GroupDisplayBinding

For internal use by the Xamarin.Forms platform.

GroupHeaderTemplate

For internal use by the Xamarin.Forms platform.

GroupHeaderTemplateProperty

For internal use by the Xamarin.Forms platform.

GroupShortNameBinding

For internal use by the Xamarin.Forms platform.

HeaderContent

For internal use by the Xamarin.Forms platform.

IsGroupingEnabled

For internal use by the Xamarin.Forms platform.

IsGroupingEnabledProperty

For internal use by the Xamarin.Forms platform.

Item[Int32]

For internal use by the Xamarin.Forms platform.

ItemsSource

For internal use by the Xamarin.Forms platform.

Name

For internal use by the Xamarin.Forms platform.

Parent

For internal use by the Xamarin.Forms platform.

ProgressiveLoadingProperty

For internal use by the Xamarin.Forms platform.

ShortName

For internal use by the Xamarin.Forms platform.

ShortNames

For internal use by the Xamarin.Forms platform.

Methods

ActivateContent(Int32, Object)

For internal use by the Xamarin.Forms platform.

ApplyBindings()

Apply the bindings to BindingContext.

(Inherited from BindableObject)
ClearValue(BindableProperty)

Clears any value set by SetValue for property.

(Inherited from BindableObject)
ClearValue(BindablePropertyKey)

Clears any value set by SetValue for the property that is identified by propertyKey.

(Inherited from BindableObject)
CoerceValue(BindableProperty) (Inherited from BindableObject)
CoerceValue(BindablePropertyKey) (Inherited from BindableObject)
CreateContent(Int32, Object, Boolean)

For internal use by the Xamarin.Forms platform.

Dispose()

For internal use by the Xamarin.Forms platform.

GetDescendantCount()

For internal use by the Xamarin.Forms platform.

GetEnumerator()

For internal use by the Xamarin.Forms platform.

GetGlobalIndexForGroup(ITemplatedItemsList<TItem>)

For internal use by the Xamarin.Forms platform.

GetGlobalIndexOfGroup(Object)

For internal use by the Xamarin.Forms platform.

GetGlobalIndexOfItem(Object)

For internal use by the Xamarin.Forms platform.

GetGlobalIndexOfItem(Object, Object)

For internal use by the Xamarin.Forms platform.

GetGroupAndIndexOfItem(Object)

For internal use by the Xamarin.Forms platform.

GetGroupAndIndexOfItem(Object, Object)

For internal use by the Xamarin.Forms platform.

GetGroupIndexFromGlobal(Int32, Int32)

For internal use by the Xamarin.Forms platform.

GetValue(BindableProperty)

Returns the value that is contained in the BindableProperty.

(Inherited from BindableObject)
GetValues(BindableProperty, BindableProperty)
Obsolete.

For internal use by the Xamarin.Forms platform.

(Inherited from BindableObject)
GetValues(BindableProperty, BindableProperty, BindableProperty)
Obsolete.

For internal use by the Xamarin.Forms platform.

(Inherited from BindableObject)
IndexOf(TItem)

For internal use by the Xamarin.Forms platform.

IsSet(BindableProperty)

Returns true if the target property exists and has been set.

(Inherited from BindableObject)
OnBindingContextChanged()

Override this method to execute an action when the BindingContext changes.

(Inherited from BindableObject)
OnPropertyChanged(String)

Call this method from a child class to notify that a change happened on a property.

(Inherited from BindableObject)
OnPropertyChanging(String)

Call this method from a child class to notify that a change is going to happen on a property.

(Inherited from BindableObject)
RemoveBinding(BindableProperty)

Removes a previously set binding.

(Inherited from BindableObject)
SelectDataTemplate(Object)

For internal use by the Xamarin.Forms platform.

SetBinding(BindableProperty, BindingBase)

Assigns a binding to a property.

(Inherited from BindableObject)
SetValue(BindableProperty, Object)

Sets the value of the specified property.

(Inherited from BindableObject)
SetValue(BindablePropertyKey, Object)

Sets the value of the propertyKey.

(Inherited from BindableObject)
SetValueCore(BindableProperty, Object, SetValueFlags)

For internal use by the Xamarin.Forms platform.

(Inherited from BindableObject)
UnapplyBindings()

Unapplies all previously set bindings.

(Inherited from BindableObject)

Events

BindingContextChanged

Raised whenever the BindingContext property changes.

(Inherited from BindableObject)
CollectionChanged

For internal use by the Xamarin.Forms platform.

GroupedCollectionChanged

For internal use by the Xamarin.Forms platform.

PropertyChanged

Raised when a property has changed.

(Inherited from BindableObject)
PropertyChanging

Raised when a property is about to change.

(Inherited from BindableObject)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

For internal use by the Xamarin.Forms platform.

ICollection.IsSynchronized

For internal use by the Xamarin.Forms platform.

ICollection.SyncRoot

For internal use by the Xamarin.Forms platform.

IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

For internal use by the Xamarin.Forms platform.

(Inherited from BindableObject)
IEnumerable.GetEnumerator()

For internal use by the Xamarin.Forms platform.

IList.Add(Object)

For internal use by the Xamarin.Forms platform.

IList.Clear()

For internal use by the Xamarin.Forms platform.

IList.Contains(Object)

For internal use by the Xamarin.Forms platform.

IList.IndexOf(Object)

For internal use by the Xamarin.Forms platform.

IList.Insert(Int32, Object)

For internal use by the Xamarin.Forms platform.

IList.IsFixedSize

For internal use by the Xamarin.Forms platform.

IList.IsReadOnly

For internal use by the Xamarin.Forms platform.

IList.Item[Int32]

For internal use by the Xamarin.Forms platform.

IList.Remove(Object)

For internal use by the Xamarin.Forms platform.

IList.RemoveAt(Int32)

For internal use by the Xamarin.Forms platform.

ITemplatedItemsList<TItem>.BindingContext

For internal use by the Xamarin.Forms platform.

ITemplatedItemsList<TItem>.GetGroup(Int32)

For internal use by the Xamarin.Forms platform.

ITemplatedItemsList<TItem>.GroupedCollectionChanged

For internal use by the Xamarin.Forms platform.

ITemplatedItemsList<TItem>.ListProxy

For internal use by the Xamarin.Forms platform.

ITemplatedItemsList<TItem>.PropertyChanged

For internal use by the Xamarin.Forms platform.

ITemplatedItemsList<TItem>.UpdateContent(TItem, Int32)

For internal use by the Xamarin.Forms platform.

ITemplatedItemsList<TItem>.UpdateHeader(TItem, Int32)

For internal use by the Xamarin.Forms platform.

Extension Methods

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

Creates and applies a binding to a property.

SetBinding<TSource>(BindableObject, BindableProperty, Expression<Func<TSource,Object>>, BindingMode, IValueConverter, String)
Obsolete.

Creates and applies a binding from an expression.

SetOnAppTheme<T>(BindableObject, BindableProperty, T, T)
ForEach<T>(IEnumerable<T>, Action<T>)

For internal use by the Xamarin.Forms platform.

GroupToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)

For internal use by the Xamarin.Forms platform.

IndexOf<T>(IEnumerable<T>, T)

For internal use by the Xamarin.Forms platform.

IndexOf<T>(IEnumerable<T>, Func<T,Boolean>)

For internal use by the Xamarin.Forms platform.

Prepend<T>(IEnumerable<T>, T)

For internal use by the Xamarin.Forms platform.

Applies to