KeyTime.Percent Property

Definition

Gets the time when the key frame ends expressed as a percentage of the total duration of the animation.

public double Percent { get; }

Property Value

A Percent value.

Exceptions

If this instance is not of type Percent.

Remarks

When a key time is expressed as a percentage, the key frame ending time is specified as a percentage of the duration of the key frame animation. For example, if a key frame animation has a duration of four seconds and 75% is given as the KeyTime percentage for the key frame, the key frame will end after the 3rd second.

Applies to

Produs Versiuni
.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