Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EventTrigger

Expression Studio 4.0

You can use the EventTrigger trigger in a Windows Phone project to invoke an action based on an event such as a mouse click, a page loading, or another interaction. EventTrigger is the default trigger for actions that you define in Microsoft Expression Blend.

To add an EventTrigger to a Windows Phone project

  1. In the Assets panel, click Behaviors, and then drag the behavior that you want onto the object that you want to apply the behavior to. The Trigger category appears in the Properties panel.

  2. In the Trigger category, in the EventName drop-down list, select the event that you want to trigger the action.

  3. Click Show advanced properties. In the SourceName box, select the element that will enable the event. By default, the SourceName is the element that contains an action. You can use the Artboard Element Picker Artboard Element Picker icon to select the element directly on the artboard.

    EventTrigger for WindowsPhone

To see a sample of this behavior, visit the Expression Community Gallery Ff979336.xtlink_newWindow(en-us,Expression.40).png.

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