VisualStateManager Class

Definition

Manages visual state groups and transitions controls between states.

public static class VisualStateManager
type VisualStateManager = class
Inheritance
System.Object
VisualStateManager

Fields

VisualStateGroupsProperty

Backing store for the attached property that contains the visual state groups in the manager.

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