 | AnimationTGetTotalDuration Method |
Gets the total length of the timeline.
Namespace: DigitalRune.AnimationAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntaxpublic abstract TimeSpan GetTotalDuration()
Public MustOverride Function GetTotalDuration As TimeSpan
public:
virtual TimeSpan GetTotalDuration() abstract
abstract GetTotalDuration : unit -> TimeSpan
Return Value
Type:
TimeSpanThe total length of the timeline.
Implements
ITimelineGetTotalDuration
Remarks
The total duration is the effective length of the animation timeline. Depending on the type
of timeline, the total duration can be the natural duration of the underlying animation or
might be set explicitly by the user.
Notes to Implementors: The duration must be 0 or a positive value.
MaxValue can be returned to indicate that the animation runs forever.
See Also