VisualStateUtilities Class
Provides various standard operations for working with VisualStateManager.
Inheritance Hierarchy
System.Object
Microsoft.Xaml.Interactivity.VisualStateUtilities
Namespace: Microsoft.Xaml.Interactivity
Assembly: Microsoft.Xaml.Interactivity (in Microsoft.Xaml.Interactivity.dll)
Syntax
'Declaration
Public NotInheritable Class VisualStateUtilities
public static class VisualStateUtilities
public ref class VisualStateUtilities abstract sealed
[<AbstractClass>]
[<Sealed>]
type VisualStateUtilities = class end
public final class VisualStateUtilities
The VisualStateUtilities type exposes the following members.
Methods
Name | Description | |
---|---|---|
FindNearestStatefulControl | Finds the nearest parent which contains visual states. | |
GetVisualStateGroups | Gets the value of the VisualStateManager.VisualStateGroups attached property. | |
GoToState | Transitions the control between two states. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.