KeyTime Property
Collapse the table of content
Expand the table of content

DoubleKeyFrame.KeyTime Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)
XMLNS for XAML: Not mapped to an xmlns.

public KeyTime KeyTime { get; set; }
<doubleKeyFrame KeyTime="keyTimeString"/>

XAML Values


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 null.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft