Export (0) Print
Expand All
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Expand Minimize

RoutedEvent

Silverlight

Gets or sets the owning object type and routed event name that will activate a trigger. Only the Loaded event is supported.

<object RoutedEvent="parentObjectType.Loaded"  .../>
value = object.RoutedEvent
object.RoutedEvent = "parentObjectType.Loaded"

Type: string

The RoutedEvent that will activate this trigger.

This property is read/write. The default value is an empty string.

The only event that you can use for an EventTrigger in Silverlight is the Loaded event.

For animations that are intended to trigger from events other than Loaded, create a conventional event handler, which can be referenced either in XAML attribute syntax or by adding it with AddEventListener. From the event handler code, get a reference to a Storyboard (typically these are stored as Resources), and then call the Begin method on that Storyboard.

Community Additions

ADD
Show:
© 2014 Microsoft