Partager via


VisualStateGroupList Class

Definition

Contains a list of visual state groups for an application.

public ref class VisualStateGroupList : System::Collections::Generic::ICollection<Microsoft::Maui::Controls::VisualStateGroup ^>, System::Collections::Generic::IEnumerable<Microsoft::Maui::Controls::VisualStateGroup ^>, System::Collections::Generic::IList<Microsoft::Maui::Controls::VisualStateGroup ^>
public class VisualStateGroupList : System.Collections.Generic.ICollection<Microsoft.Maui.Controls.VisualStateGroup>, System.Collections.Generic.IEnumerable<Microsoft.Maui.Controls.VisualStateGroup>, System.Collections.Generic.IList<Microsoft.Maui.Controls.VisualStateGroup>
type VisualStateGroupList = class
    interface IList<VisualStateGroup>
    interface ICollection<VisualStateGroup>
    interface seq<VisualStateGroup>
    interface IEnumerable
Public Class VisualStateGroupList
Implements ICollection(Of VisualStateGroup), IEnumerable(Of VisualStateGroup), IList(Of VisualStateGroup)
Inheritance
VisualStateGroupList
Implements

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]

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.

Equals(Object)
GetEnumerator()

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

GetHashCode()
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()

Applies to