Share via


VisualStateManager Class

Definition

Manages visual state groups and transitions controls between states.

public ref class VisualStateManager abstract sealed
public static class VisualStateManager
type VisualStateManager = class
Public Module VisualStateManager
Inheritance
VisualStateManager

Fields

VisualStateGroupsProperty

Bindable property for attached property VisualStateGroups.

Methods

GetVisualStateGroups(VisualElement)

Returns the visual state groups that can be applied to the specified visual element.

GoToState(VisualElement, String)

Transitions the specified visualElement to the state with the specified name.

HasVisualStateGroups(VisualElement)

Returns true if element has one or more visual state groups associated with it. Otherwise, returns false.

SetVisualStateGroups(VisualElement, VisualStateGroupList)

Associates a list of visual state groups with a visual element.

Applies to