Class VisualStateGroup
Contains mutually exclusive VisualState objects and VisualTransition objects that are used to go from one state to another.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
public sealed class VisualStateGroup : DependencyObject
Properties
| Improve this Doc View SourceCurrentState
Gets the most recently set VisualState from a successful call to the GoToState method.
Declaration
public VisualState CurrentState { get; }
Property Value
Type | Description |
---|---|
VisualState |
Name
Gets the name of the VisualStateGroup.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
States
Gets the collection of mutually exclusive VisualState objects.
Declaration
public IList States { get; }
Property Value
Type | Description |
---|---|
System.Collections.IList |
Transitions
Gets the collection of VisualTransition objects.
Declaration
[NotImplemented]
public IList Transitions { get; }
Property Value
Type | Description |
---|---|
System.Collections.IList |
Events
| Improve this Doc View SourceCurrentStateChanged
Raised when transition begins
Declaration
public event EventHandler<VisualStateChangedEventArgs> CurrentStateChanged
Event Type
Type | Description |
---|---|
System.EventHandler<VisualStateChangedEventArgs> |
CurrentStateChanging
Raised when transition ends and new state storyboard begins.
Declaration
public event EventHandler<VisualStateChangedEventArgs> CurrentStateChanging
Event Type
Type | Description |
---|---|
System.EventHandler<VisualStateChangedEventArgs> |