Represents a collection of EventTrigger objects.
To create an object using scripting, see CreateFromXAML.
|oneOrMoreEventTriggers||One or more EventTrigger object elements. Each EventTrigger object element must specify the RoutedEvent attribute. You can specify multiple EventTrigger elements that have the same RoutedEvent value. See Remarks in EventTrigger for limitations on which events are supported in Silverlight 1.0.|
The XAML syntax for properties that use a TriggerCollection is an example of an implicit collection syntax, where you can omit an actual TriggerCollection object element. Instead, you generally include one or more EventTrigger elements as child elements of an <object.Triggers> property element tag. For more information about XAML implicit collection syntax, see XAML Syntax Overview. (Explicitly including a TriggerCollection object element is permissible XAML syntax, and might be useful if you intend to name the collection in XAML and manipulate its contents through script later.)