VisualStateGroupList Class

Definition

Contains a list of visual state groups for an application.

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
Inheritance
System.Object
VisualStateGroupList
Implements
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

Constructors

VisualStateGroupList()

Creates a new VisualStateGroupList object with default values.

VisualStateGroupList(Boolean)

Properties

Count

Gets the number of visual state groups in the list.

IsReadOnly

Gets a Boolean value that tells whether this list is read-only.

Item[Int32]

Gets or sets the item at the specified index.

Methods

Add(VisualStateGroup)

Adds the specified visual state group to the list.

Clear()

Removes all visual state groups from the list.

Contains(VisualStateGroup)

Checks whether item is in the list of visual state groups.

CopyTo(VisualStateGroup[], Int32)

Copies the list group to the specified array, starting at arrayIndex.

GetEnumerator()

Returns an enumerator for iterating over the groups in the list.

IndexOf(VisualStateGroup)

Returns the index of item if found. Otherwise, returns -1.

Insert(Int32, VisualStateGroup)

Inserts item at index in the list of groups.

Remove(VisualStateGroup)

Removes the group from the list of groups.

RemoveAt(Int32)

Removes the item at the specified index.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets an enumerator that iterates over the groups in this list.

Extension Methods

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

For internal use by the Xamarin.Forms platform.

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

For internal use by the Xamarin.Forms platform.

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

For internal use by the Xamarin.Forms platform.

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

For internal use by the Xamarin.Forms platform.

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

For internal use by the Xamarin.Forms platform.

Applies to