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

  1. 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.


    The object to which the behavior is attached provides the context for the behavior.

    GoToStateAction for Windows Phone
  2. In the StateName box, select the state that you want the action to transition to.

  3. 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 Ff979327.xtlink_newWindow(en-us,Expression.40).png.

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.