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 平台内部使用。 |