KeyTime.Uniform Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the Uniform value which divides the allotted time of the animation evenly between key frames.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public static KeyTime Uniform { get; }

Property Value

Type: System.Windows.Media.Animation.KeyTime

A Uniform value.

When a key time is set to Uniform, the total allotted time of the animation is divided evenly between key frames. For example, if the key frame animation has a duration of four seconds and there are four key frames, each key frame will last for one second and begin immediately after the preceding one ends.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top