GoToStateAction
Expression Studio 4.0
You can use the GoToStateAction action to apply a trigger that enables a specified visual state.
To apply a GoToStateAction to a Windows Phone project
-
In the Assets panel, click Behaviors, and then drag GoToStateAction onto the object that you want to apply the action to. The Common Properties category appears in the Properties panel.
Note: The object to which the behavior is attached provides the context for the behavior.
-
In the StateName box, select the state that you want the action to transition to.
-
Select or clear the UseTransitions option. Selecting UseTransitions will enable a smooth transition, if defined, between states. Clearing UseTransitions will enable an instant switch between states.
To see a sample of this behavior, visit the Expression Community Gallery
.