共用方式為


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)

清除 SetValue 針對 property 所設定的任何值。

(繼承來源 BindableObject)
ClearValue(BindablePropertyKey)

清除 SetValue 針對 propertyKey 所識別屬性設定的任何值。

(繼承來源 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 平台內部使用。

適用於