Triggers (Blend SDK for WPF)
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 Blend by changing the trigger type. To change the trigger type, click New in the Trigger category in the Properties panel.
Blend triggers
The following triggers are available in Blend:
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 (Blend SDK for WPF).
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 (Blend SDK for WPF).
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 (Blend SDK for WPF).
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 (Blend SDK for WPF).
StoryboardCompletedTrigger Use the StoryboardCompletedTrigger trigger to invoke an action after a storyboard has finished.
For more information about this trigger, seeStoryboardCompletedTrigger (Blend SDK for WPF).
TimerTrigger Use the TimerTrigger trigger to invoke an action based on a timer.
For more information about this trigger, see TimerTrigger (Blend SDK for WPF).
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 (Blend SDK for WPF).
Note
You can use all the triggers in available in Blend in SketchFlow projects. However, SketchFlow triggers are available only in SketchFlow projects.