VisualStateGroup.States Property

Definition

Gets the collection of mutually exclusive VisualState objects.

Equivalent WinUI property: Microsoft.UI.Xaml.VisualStateGroup.States.

public:
 property IVector<VisualState ^> ^ States { IVector<VisualState ^> ^ get(); };
IVector<VisualState> States();
public IList<VisualState> States { get; }
var iVector = visualStateGroup.states;
Public ReadOnly Property States As IList(Of VisualState)
<VisualStateGroup>
    oneOrMoreVisualStates
</VisualStateGroup>

Property Value

IVector<VisualState>

IList<VisualState>

The collection of mutually exclusive VisualState objects.

Applies to