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.
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 |
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
IEnumerable.GetEnumerator() |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈