Udostępnij za pośrednictwem


KeyTime.Uniform Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a uniform value, which divides the allotted time of the animation evenly between key frames.

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

Syntax

'Declaration
Public Shared ReadOnly Property Uniform As KeyTime
public static KeyTime Uniform { get; }

Property Value

Type: System.Windows.Media.Animation.KeyTime
A uniform value, which divides the allotted time of the animation evenly between key frames.

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.