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
.NET MAUI
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기