Sdílet prostřednictvím


DoubleKeyFrame.KeyTime Property

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

Gets or sets the time at which the key frame's target Value should be reached.

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

Syntax

'Declaration
Public Property KeyTime As KeyTime
public KeyTime KeyTime { get; set; }
<doubleKeyFrame KeyTime="keyTimeString"/>

XAML Values

  • keyTimeString
    A string in the form [days.]hours:minutes:seconds[.fractionalSeconds]. For more information, see KeyTime.

Property Value

Type: System.Windows.Media.Animation.KeyTime
The time at which the key frame's current value should be equal to its Value property. The default is nulla null reference (Nothing in Visual Basic).

Remarks

Dependency property identifier field: KeyTimeProperty

The XAML attribute format for specifying a KeyTime is [days.]hours:minutes:seconds[.fractionalSeconds]. For details on XAML usage, see KeyTime.

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.