TemplatedItemsList<TView,TItem> 类

定义

供 Xamarin.Forms 平台内部使用。

[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

类型参数

TView

供 Xamarin.Forms 平台内部使用。

TItem

供 Xamarin.Forms 平台内部使用。

继承
System.Object
TemplatedItemsList<TView,TItem>
属性
System.ComponentModel.EditorBrowsableAttribute
实现
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>

字段

NameProperty

供 Xamarin.Forms 平台内部使用。

ShortNameProperty

供 Xamarin.Forms 平台内部使用。

属性

BindingContext

获取或设置对象,该对象包含将被属于此 BindableObject 的绑定属性设定为目标的属性。

(继承自 BindableObject)
Count

供 Xamarin.Forms 平台内部使用。

Dispatcher

供 Xamarin.Forms 平台内部使用。

(继承自 BindableObject)
GroupDisplayBinding

供 Xamarin.Forms 平台内部使用。

GroupHeaderTemplate

供 Xamarin.Forms 平台内部使用。

GroupHeaderTemplateProperty

供 Xamarin.Forms 平台内部使用。

GroupShortNameBinding

供 Xamarin.Forms 平台内部使用。

HeaderContent

供 Xamarin.Forms 平台内部使用。

IsGroupingEnabled

供 Xamarin.Forms 平台内部使用。

IsGroupingEnabledProperty

供 Xamarin.Forms 平台内部使用。

Item[Int32]

供 Xamarin.Forms 平台内部使用。

ItemsSource

供 Xamarin.Forms 平台内部使用。

Name

供 Xamarin.Forms 平台内部使用。

Parent

供 Xamarin.Forms 平台内部使用。

ProgressiveLoadingProperty

供 Xamarin.Forms 平台内部使用。

ShortName

供 Xamarin.Forms 平台内部使用。

ShortNames

供 Xamarin.Forms 平台内部使用。

方法

ActivateContent(Int32, Object)

供 Xamarin.Forms 平台内部使用。

ApplyBindings()

将绑定应用到 BindingContext

(继承自 BindableObject)
ClearValue(BindableProperty)

清除由 SetValueproperty 设置的任何值。

(继承自 BindableObject)
ClearValue(BindablePropertyKey)

清除由 SetValuepropertyKey 标识的属性设置的任何值。

(继承自 BindableObject)
CoerceValue(BindableProperty)

供 Xamarin.Forms 平台内部使用。

(继承自 BindableObject)
CoerceValue(BindablePropertyKey)

供 Xamarin.Forms 平台内部使用。

(继承自 BindableObject)
CreateContent(Int32, Object, Boolean)

供 Xamarin.Forms 平台内部使用。

Dispose()

供 Xamarin.Forms 平台内部使用。

GetDescendantCount()

供 Xamarin.Forms 平台内部使用。

GetEnumerator()

供 Xamarin.Forms 平台内部使用。

GetGlobalIndexForGroup(ITemplatedItemsList<TItem>)

供 Xamarin.Forms 平台内部使用。

GetGlobalIndexOfGroup(Object)

供 Xamarin.Forms 平台内部使用。

GetGlobalIndexOfItem(Object)

供 Xamarin.Forms 平台内部使用。

GetGlobalIndexOfItem(Object, Object)

供 Xamarin.Forms 平台内部使用。

GetGroupAndIndexOfItem(Object)

供 Xamarin.Forms 平台内部使用。

GetGroupAndIndexOfItem(Object, Object)

供 Xamarin.Forms 平台内部使用。

GetGroupIndexFromGlobal(Int32, Int32)

供 Xamarin.Forms 平台内部使用。

GetValue(BindableProperty)

返回 BindableProperty 中包含的值。

(继承自 BindableObject)
GetValues(BindableProperty, BindableProperty)
已过时.

供 Xamarin.Forms 平台内部使用。

(继承自 BindableObject)
GetValues(BindableProperty, BindableProperty, BindableProperty)
已过时.

供 Xamarin.Forms 平台内部使用。

(继承自 BindableObject)
IndexOf(TItem)

供 Xamarin.Forms 平台内部使用。

IsSet(BindableProperty)

如果目标属性存在并且已设置,则返回 true

(继承自 BindableObject)
OnBindingContextChanged()

替代此方法以在 BindingContext 更改时执行操作。

(继承自 BindableObject)
OnPropertyChanged(String)

从子类调用此方法以通知属性发生更改。

(继承自 BindableObject)
OnPropertyChanging(String)

从子类调用此方法以通知属性将要发生更改。

(继承自 BindableObject)
RemoveBinding(BindableProperty)

删除先前设置的绑定。

(继承自 BindableObject)
SelectDataTemplate(Object)

供 Xamarin.Forms 平台内部使用。

SetBinding(BindableProperty, BindingBase)

向属性分配绑定。

(继承自 BindableObject)
SetValue(BindableProperty, Object)

设置指定属性的值。

(继承自 BindableObject)
SetValue(BindablePropertyKey, Object)

设置 propertyKey 的值。

(继承自 BindableObject)
SetValueCore(BindableProperty, Object, SetValueFlags)

供 Xamarin.Forms 平台内部使用。

(继承自 BindableObject)
UnapplyBindings()

不应用所有以前设置的绑定。

(继承自 BindableObject)

事件

BindingContextChanged

只要 BindingContext 属性更改就会引发。

(继承自 BindableObject)
CollectionChanged

供 Xamarin.Forms 平台内部使用。

GroupedCollectionChanged

供 Xamarin.Forms 平台内部使用。

PropertyChanged

在属性已更改时引发。

(继承自 BindableObject)
PropertyChanging

在属性将要更改时引发。

(继承自 BindableObject)

显式接口实现

ICollection.CopyTo(Array, Int32)

供 Xamarin.Forms 平台内部使用。

ICollection.IsSynchronized

供 Xamarin.Forms 平台内部使用。

ICollection.SyncRoot

供 Xamarin.Forms 平台内部使用。

IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

供 Xamarin.Forms 平台内部使用。

(继承自 BindableObject)
IEnumerable.GetEnumerator()

供 Xamarin.Forms 平台内部使用。

IList.Add(Object)

供 Xamarin.Forms 平台内部使用。

IList.Clear()

供 Xamarin.Forms 平台内部使用。

IList.Contains(Object)

供 Xamarin.Forms 平台内部使用。

IList.IndexOf(Object)

供 Xamarin.Forms 平台内部使用。

IList.Insert(Int32, Object)

供 Xamarin.Forms 平台内部使用。

IList.IsFixedSize

供 Xamarin.Forms 平台内部使用。

IList.IsReadOnly

供 Xamarin.Forms 平台内部使用。

IList.Item[Int32]

供 Xamarin.Forms 平台内部使用。

IList.Remove(Object)

供 Xamarin.Forms 平台内部使用。

IList.RemoveAt(Int32)

供 Xamarin.Forms 平台内部使用。

ITemplatedItemsList<TItem>.BindingContext

供 Xamarin.Forms 平台内部使用。

ITemplatedItemsList<TItem>.GetGroup(Int32)

供 Xamarin.Forms 平台内部使用。

ITemplatedItemsList<TItem>.GroupedCollectionChanged

供 Xamarin.Forms 平台内部使用。

ITemplatedItemsList<TItem>.ListProxy

供 Xamarin.Forms 平台内部使用。

ITemplatedItemsList<TItem>.PropertyChanged

供 Xamarin.Forms 平台内部使用。

ITemplatedItemsList<TItem>.UpdateContent(TItem, Int32)

供 Xamarin.Forms 平台内部使用。

ITemplatedItemsList<TItem>.UpdateHeader(TItem, Int32)

供 Xamarin.Forms 平台内部使用。

扩展方法

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)

供 Xamarin.Forms 平台内部使用。

SetAppThemeColor(BindableObject, BindableProperty, Color, Color)

供 Xamarin.Forms 平台内部使用。

SetBinding(BindableObject, BindableProperty, String, BindingMode, IValueConverter, String)

创建绑定并将其应用到属性。

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

通过表达式创建并应用绑定。

SetOnAppTheme<T>(BindableObject, BindableProperty, T, T)

供 Xamarin.Forms 平台内部使用。

ForEach<T>(IEnumerable<T>, Action<T>)

供 Xamarin.Forms 平台内部使用。

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

供 Xamarin.Forms 平台内部使用。

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

供 Xamarin.Forms 平台内部使用。

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

供 Xamarin.Forms 平台内部使用。

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

供 Xamarin.Forms 平台内部使用。

适用于