KeyTime.TimeSpan Property

Definition

Gets the time when the key frame ends expressed as a time relative to the beginning of the animation.

C#
public TimeSpan TimeSpan { get; }

Property Value

A TimeSpan value.

Exceptions

If this instance is not of type TimeSpan.

Remarks

When a key time is expressed as a time span, the key frame ending time is specified as a time relative to the beginning of the animation. For example, if the time span is set to "0:0:2", the key frame will end two seconds after the animation begins.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10