ColorKeyFrame.Value Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the key frame's target value.
Namespace: System.Windows.Media.Animation
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
Public Property Value As Color
public Color Value { get; set; }
<colorKeyFrame>
<colorKeyFrame.Value>
<Color>colorString</Color>
</colorKeyFrame.Value>
</colorKeyFrame>
<colorKeyFrame Value="colorString"/>
-or-
<colorKeyFrame Value="referenceToColor"/>
XAML Values
colorString
A color specified as a string, using a variety of possible formats, including predefined named colors. For the full list of available string formats that can specify a Color as an attribute, see Color.referenceToColor
A {StaticResource} reference or other reference to an existing color. You can define a Color in a ResourceDictionary in the form <Color x:Key="key">colorString</Color>.
Property Value
Type: System.Windows.Media..::.Color
The key frame's target value, which is the value at its specified KeyTime. The default is a Color with an ARGB value of #00000000.
Remarks
Dependency property identifier field: ValueProperty
See Color for details on the various string formats that can be used to specify a color in XAML.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone
See Also
Reference
System.Windows.Media.Animation Namespace