Share via


IXRBeginStoryboard (Windows Embedded CE 6.0)

1/6/2010

This class represents a trigger action that begins a storyboard and distributes its animations to their targeted objects and properties.

Syntax

class IXRBeginStoryboard : public IXRTriggerAction

Methods

Method Description

IXRBeginStoryboard::GetStoryboard

Retrieves the storyboard that this IXRBeginStoryboard object starts in response to an event trigger.

IXRBeginStoryboard::SetStoryboard

Sets the storyboard that this IXRBeginStoryboard object starts in response to an event trigger.

Remarks

You use IXRBeginStoryboard as a wrapper around an IXRStoryboard object that is being triggered. An IXRBeginStoryboard object can contain only one IXRStoryboard object, not a collection of them.

You can store multiple IXRBeginStoryboard objects, which each contain a storyboard, in an IXRTriggerActionCollection object that belongs to an IXREventTrigger object. To obtain this collection, call IXREventTrigger::GetActions.

Alternatively, you can use the interactive methods in IXRStoryboard to start, pause, resume, and stop an animation.

You can also define a begin-storyboard object 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 element in the source XAML for your application, see this Microsoft Web site.

Inheritance Hierarchy

IXRDependencyObject

    IXRTriggerAction

        IXRBeginStoryboard

.NET Framework Equivalent

System.Windows.Media.Animation.BeginStoryboard

Requirements

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

See Also

Reference

Classes for Visual Appearance and Behavior

Other Resources