Menu

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.

The following built-in triggers are available in Expression Blend:

  • DataTrigger���Use the DataTrigger trigger to invoke an action based on a comparison.

    For more information about this trigger, see DataTrigger.

  • 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.

  • 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 trigger an action when the property of an object changes (such as the Fill of a rectangle, the Width of a button, or another property change).

    For more information about this trigger, see PropertyChangedTrigger.

  • StoryboardCompletedTrigger���Use a 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.

To change a trigger type

  • In the Trigger category, next to TriggerType (EventTrigger), click New. In the Select Object dialog box, click the trigger that you want, and then click OK.

    tip noteTip:

    You can also double-click the trigger that you want in the Select Object dialog box to select it and then close the dialog box.

You can modify the trigger properties in the Trigger category of the Properties panel according to the trigger type that you have selected.


��Copyright � 2010 by Microsoft Corporation. All rights reserved.