Share via


XRRepeatBehavior (Windows Embedded CE 6.0)

1/6/2010

This structure defines how a IXRTimeline is repeated.

Syntax

struct XRRepeatBehavior{
  enum RepeatBehaviorType{
        RepeatBehaviorType_IterationCount,
        RepeatBehaviorType_RepeatDuration,
        RepeatBehaviorType_Forever
  };

  float IterationCount;
    XRTimeSpan RepeatDuration;
  RepeatBehaviorType BehaviorType;
};

Members

  • IterationCount
    Indicates how many times the timeline is repeated.
  • RepeatDuration
    Indicates how long the timeline is repeated.
  • BehaviorType
    Indicates the repeat behavior and which members are valid as described in the following table:

    Value Description

    RepeatBehaviorType_IterationCount

    The IterationCount value specifies the number of times a timeline plays. The default iteration count is 1.0.

    RepeatBehaviorType_RepeatDuration

    The RepeatDuration value specifies the duration of the timeline object as a multiple of the duration of playing the timeline one time.

    RepeatBehaviorType_Forever

    Indicates that the timeline repeats indefinitely.

.NET Framework Equivalent

System.Windows.Media.Animation.RepeatBehavior

Requirements

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

See Also

Reference

Silverlight for Windows Embedded Structures
IXRTimeline