VisualStateGroupList Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A list of VisualStateGroup objects that enforces unique group and state names.
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
| Name | Description |
|---|---|
| VisualStateGroupList() |
Initializes a new instance of the VisualStateGroupList class. |
| VisualStateGroupList(Boolean) |
Initializes a new instance of the VisualStateGroupList class with the specified default state. |
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| Add(VisualStateGroup) |
Adds the specified visual state group to the list. |
| Clear() |
Removes all visual state groups from the list. |
| Contains(VisualStateGroup) |
Checks whether |
| CopyTo(VisualStateGroup[], Int32) |
Copies the list group to the specified |
| Equals(Object) | |
| GetEnumerator() |
Returns an enumerator for iterating over the groups in the list. |
| GetHashCode() | |
| IndexOf(VisualStateGroup) |
Returns the index of |
| Insert(Int32, VisualStateGroup) |
Inserts |
| Remove(VisualStateGroup) |
Removes the group from the list of groups. |
| RemoveAt(Int32) |
Removes the item at the specified |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IEnumerable.GetEnumerator() | |