Share via


IXRTriggerActionCollection (Windows Embedded CE 6.0)

1/6/2010

This class represents a collection of IXRTriggerAction derived objects.

Syntax

class IXRTriggerActionCollection : public IXRCollection<IXRTriggerAction*, IXRDependencyObject*>

Methods

IXRTriggerActionCollection inherits the methods from the template class IXRCollection<In_T, Out_T>. It uses In_T parameters of type IXRTriggerAction*, and uses Out_T parameters of type IXRDependencyObject*.

Remarks

IXRTriggerActionCollection is used by the IXREventTrigger class to store IXRTriggerAction derived objects. Each IXRTriggerAction object begins an IXRStoryboard and distributes its animations to their targeted objects and properties.

You can obtain a pointer to this collection by calling IXREventTrigger::GetActions. Then, you can use the methods inherited from IXRCollection<In_T, Out_T> to add items, remove items, or retrieve items. You can also clear the complete collection by calling the inherited method IXRCollection<In_T, Out_T>::Clear.

IXREventTrigger is supported by Silverlight, but using this technique is discouraged. For more information, see Remarks in IXREventTrigger.

You can define a trigger-action collection in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this collection in the source XAML for your application, see this Microsoft Web site.

Inheritance Hierarchy

IXRDependencyObject

    IXRCollection<In_T, Out_T>

        IXRTriggerActionCollection

.NET Framework Equivalent

System.Windows.TriggerActionCollection

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for Collection Management