Share via


4.935 VisualStateGroup (4)

x:Object > DependencyObject > VisualStateGroup

(usage)

<VisualStateGroup> x:Object *</VisualStateGroup>

(description)

Contains mutually exclusive VisualState objects and VisualTransition objects that are used to move from one state to another.

[content property]

States

[name property]

Name

(properties)

CurrentState

VisualState

(description)

The VisualState that is currently applied to the control.

Name

x:String

(description)

The name of the VisualStateGroup.

States

IList

(description)

The collection of mutually exclusive VisualState objects.

[read only]

true

Transitions

IList

(description)

The collection of VisualTransition objects.

[read only]

true

(events)

CurrentStateChanged

Occurs after a control transitions to a different state.

CurrentStateChanging

Occurs when a control starts transitioning to a different state.