Freigeben über


Visual state behaviors

In Blend for Visual Studio 2012, you can use a behavior to trigger visual state changes in the element to which the behavior is applied.

Blend visual state behaviors

The following visual state behaviors are available 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.

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

    For more information about this action, see GoToStateAction.

SketchFlow visual state behaviors

The following conditional behavior is available in SketchFlow:

  • ActivateStateAction   Use the ActivateStateAction action to apply a trigger that switches between visual states.

    For more information about this action, see ActivateStateAction.

HinweisHinweis

You can use all of the behaviors in available in Blend in SketchFlow projects. However, SketchFlow behaviors are available only in SketchFlow projects.

Siehe auch

Konzepte

Working with built-in behaviors

Working with built-in SketchFlow behaviors