Click or drag to resize
DigitalRuneTimelineGroup Class
Organizes a group of animations which can be played simultaneously.
Inheritance Hierarchy
SystemObject
  DigitalRune.AnimationTimelineGroup

Namespace: DigitalRune.Animation
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public class TimelineGroup : ITimeline, 
	IList<ITimeline>, ICollection<ITimeline>, IEnumerable<ITimeline>, 
	IEnumerable

The TimelineGroup type exposes the following members.

Constructors
  NameDescription
Public methodTimelineGroup
Initializes a new instance of the TimelineGroup class.
Top
Methods
  NameDescription
Public methodAdd
Adds a timeline to the TimelineGroup.
Public methodClear
Removes all timelines from the TimelineGroup.
Public methodContains
Determines whether the TimelineGroup contains a specific timeline.
Public methodCreateInstance
Creates an animation instance that can be used to play back the animation. (For internal use only.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAnimationTime
Gets the animation time for the specified time on the timeline.
Public methodGetEnumerator
Returns an enumerator that iterates through the TimelineGroup.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetState
Gets the state of the animation for the specified time on the timeline.
Public methodGetTotalDuration
Gets the total length of the timeline.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Determines the index of a specific timeline in the TimelineGroup.
Public methodInsert
Inserts a timeline into the TimelineGroup at the specified index.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the first occurrence of a specific timeline from the TimelineGroup.
Public methodRemoveAt
Removes the timeline at the specified index from the TimelineGroup.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddRangeITimeline (Defined by CollectionHelper.)
Public Extension MethodDoITimeline(ActionITimeline)Overloaded.
Performs the given action on each element in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodDoITimeline(ActionITimeline, Int32)Overloaded.
Performs the given action on each element (incorporating its index) in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodForEachITimeline(ActionITimeline)Overloaded.
Immediately performs the given action on each element in a sequence.
(Defined by LinqHelper.)
Public Extension MethodForEachITimeline(ActionITimeline, Int32)Overloaded.
Immediately performs the given action on each element (incorporating its index) in a sequence.
(Defined by LinqHelper.)
Public Extension MethodIndexOfITimeline
Returns the index of the first element in a sequence that satisfies the specified condition.
(Defined by LinqHelper.)
Top
Properties
  NameDescription
Public propertyCount
Gets the number of timelines contained in the TimelineGroup.
Public propertyFillBehavior
Gets or sets a value that specifies how the animation behaves when it reaches the end of its duration.
Public propertyItem
Gets or sets the timeline at the specified index.
Public propertyTargetObject
Gets or sets the object to which the animation is applied by default.
Top
Explicit Interface Implementations
Remarks

Different animations can be grouped together to be executed simultaneously. The group of animations is sometimes called "storyboard".

Nested Timelines: Timeline groups can be nested. That means a TimelineGroup can contain other TimelineGroups.

Important: Animations must not be added or removed while the timeline group is playing!

See Also