VisualStateGroupList 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含应用程序的可视状态组列表。
public class VisualStateGroupList : System.Collections.Generic.ICollection<Xamarin.Forms.VisualStateGroup>, System.Collections.Generic.IEnumerable<Xamarin.Forms.VisualStateGroup>, System.Collections.Generic.IList<Xamarin.Forms.VisualStateGroup>
type VisualStateGroupList = class
interface IList<VisualStateGroup>
interface ICollection<VisualStateGroup>
interface seq<VisualStateGroup>
interface IEnumerable
- 继承
-
System.ObjectVisualStateGroupList
- 实现
-
System.Collections.Generic.ICollection<T> System.Collections.Generic.ICollection<VisualStateGroup> System.Collections.Generic.IEnumerable<T> System.Collections.Generic.IEnumerable<VisualStateGroup> System.Collections.Generic.IList<VisualStateGroup> System.Collections.IEnumerable
构造函数
| VisualStateGroupList() |
新建具有默认值的 VisualStateGroupList 对象。 |
| VisualStateGroupList(Boolean) |
包含应用程序的可视状态组列表。 |
属性
| Count |
获取列表中的可视状态组数。 |
| IsReadOnly |
获取一个布尔值,该值指示此列表是否为只读。 |
| Item[Int32] |
获取或设置指定 |
方法
| Add(VisualStateGroup) |
将指定的可视状态组添加到列表中。 |
| Clear() |
从列表中删除所有可视状态组。 |
| Contains(VisualStateGroup) |
检查 |
| CopyTo(VisualStateGroup[], Int32) |
将列表组复制到指定的 |
| GetEnumerator() |
返回用于循环访问列表中的组的枚举器。 |
| IndexOf(VisualStateGroup) |
如果找到,则返回 |
| Insert(Int32, VisualStateGroup) |
在组列表中的 |
| Remove(VisualStateGroup) |
从组列表中删除组。 |
| RemoveAt(Int32) |
删除指定 |
显式接口实现
| IEnumerable.GetEnumerator() |
获取循环访问列表中的组的枚举器。 |
扩展方法
| 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 平台内部使用。 |