Share via


Windows Phone triggers

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

Windows Phone triggers

The following triggers are available in Blend for Windows Phone:

  • **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 (Windows Phone).

  • **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 (Windows Phone).

  • **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 (Windows Phone).

  • **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 (Windows Phone).

  • **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 (Windows Phone).

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

    For more information about this trigger, see StoryboardCompletedTrigger (Windows Phone).

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

    For more information about this trigger, see TimerTrigger (Windows Phone).