Triggers

When you add an action to the artboard in Microsoft Expression Blend, an EventTrigger is created by default. You can use any of the additional built-in triggers in Expression Blend by changing the trigger type. To change the trigger type, click New in the Trigger category in the Properties panel.

Expression Blend triggers

The following triggers are available in Expression Blend:

  • **DataStoreChangedTrigger   **Use the DataStoreChangedTrigger trigger to invoke an action based on a modification to a data store.

    For more information about this trigger, see DataStoreChangedTrigger.

  • **DataTrigger   **Use the DataTrigger trigger to invoke an action based on the value of a data-bound property.

    For more information about this trigger, see DataTrigger.

  • **EventTrigger   **Use the EventTrigger trigger to invoke an action based on an event such as a mouse click, a page loading, or another interaction.

    For more information about this trigger, see EventTrigger.

  • **KeyTrigger   **Use the KeyTrigger trigger to invoke an action when a combination of keys is pressed on the keyboard.

    For more information about this trigger, see KeyTrigger.

  • **PropertyChangedTrigger   **Use the PropertyChangedTrigger trigger to invoke an action based on a modification to an element or a data store property.

    For more information about this trigger, see PropertyChangedTrigger.

  • **StoryboardCompletedTrigger   **Use the StoryboardCompletedTrigger trigger to invoke an action after a storyboard has finished.

    For more information about this trigger, see StoryboardCompletedTrigger.

  • **TimerTrigger   **Use the TimerTrigger trigger to invoke an action based on a timer.

    For more information about this trigger, see TimerTrigger.

SketchFlow triggers

The following trigger is available in SketchFlow:

  • **SketchFlowAnimationTrigger   **Use the SketchFlowAnimationTrigger trigger to trigger a particular action, for example, playing a sound when the animation pauses or triggering a state change.

    For more information about this trigger, see SketchFlowAnimationTrigger.

Note

You can use all the triggers in available in Expression Blend in SketchFlow projects. However, SketchFlow triggers are available only in SketchFlow projects.

See also

Concepts

Working with built-in behaviors
Working with built-in SketchFlow behaviors

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