Windows Phone conditional behaviors

Expression Studio 4.0

In Microsoft Expression Blend for Windows Phone, you can use conditional behaviors to link an action to event when a comparison evaluates to True. You can quickly apply conditions to actions by creating and modifying conditions in the Properties panel.

For more information, see Add a condition to a behavior.

Expression Blend for Windows Phone conditional behaviors

The following conditional 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.

  • ChangePropertyAction   Use the ChangePropertyAction action to easily either change or increment the property of an object.

    For more information about this action, see ChangePropertyAction.

  • ControlStoryboardAction   Use a ControlStoryboardAction action to specify the state of the storyboard, such as Play, Pause, or Stopped.

    For more information about this action, see ControlStoryboardAction.

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

    For more information about this action, see GoToStateAction.

  • HyperlinkAction   Use the HyperlinkAction action to easily browse to a website address when the action is triggered.

    For more information about this action, see HyperlinkAction.

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

    For more information about this action, see InvokeCommandAction.

  • PlaySoundAction   Use the PlaySoundAction action to play a sound when an action is triggered.

    For more information about this action, see PlaySoundAction.

  • RemoveElementAction   Use the RemoveElementAction action to easily remove an element from a logical tree.

    For more information about this action, see RemoveElementAction.

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

    For more information about this action, see SetDataStoreValueAction.

  Copyright © 2011 by Microsoft Corporation. All rights reserved.
Show: