TemplatedItemsList<TView,TItem> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
供 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.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 平台內部使用。 |
方法
事件
BindingContextChanged |
每當 BindingContext 屬性變更時引發。 (繼承來源 BindableObject) |
CollectionChanged |
供 Xamarin.Forms 平台內部使用。 |
GroupedCollectionChanged |
供 Xamarin.Forms 平台內部使用。 |
PropertyChanged |
在屬性變更時引發。 (繼承來源 BindableObject) |
PropertyChanging |
在屬性即將變更時引發。 (繼承來源 BindableObject) |
明確介面實作
擴充方法
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 平台內部使用。 |