Share via


Windows Phone visual state behaviors

You can use a behavior to trigger visual state changes in the element to which the behavior is applied.

Windows Phone visual state behaviors

The following visual state behaviors are available for Windows Phone projects in Blend:

  • DataStateBehavior   Use the DataStateBehavior behavior to switch between visual states based on whether a condition evaluates to True or to False.

    For more information about this behavior, see DataStateBehavior (Windows Phone).

  • GoToStateAction   Use the GoToStateAction action to easily trigger a custom visual state.

    For more information about this action, see GoToStateAction (Windows Phone).