Windows Phone data behaviors

In Microsoft Expression Blend for Windows Phone, you can use data behaviors to interact with data in a variety of ways, including adding and modifying properties by using a data store, applying visual state changes based on data comparisons, and triggering specific actions based on changes to the data store.

For more information about the data store, see Add or modify a data store.

The InvokeCommandAction and CallMethodAction actions are particularly useful when you are working with Views and ViewModels.

Expression Blend for Windows Phone data behaviors

The following data behaviors are available in Expression Blend for Windows Phone:

  • **CallMethodAction   **Use the CallMethodAction action to call a method on the DataContext of an element when an event occurs.

    For more information about this action, see CallMethodAction.

  • **DataStateBehavior   **Use the DataStateBehavior behavior to change a visual state based on whether a condition evaluates to True or to False.

    For more information about this behavior, see DataStateBehavior.

  • **FluidMoveSetTagBehavior   **Use the FluidMoveSetTagBehavior behavior to create a data store or to write information to an existing data store.

    For more information about this behavior, see FluidMoveSetTagBehavior.

  • **InvokeCommandAction   **Use the InvokeCommandAction action to invoke a command exposed by the data source.

    For more information about this action, see InvokeCommandAction.

  • SetDataStoreValueAction   Use the SetDataStoreValueAction behavior to automatically adjust the values of your data store at run time.

    For more information about this action, see SetDataStoreValueAction.

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