PointKeyFrame.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 Point
public Point Value { get; set; }
<pointKeyFrame Value="x,y"/>

XAML Values

  • x
    The X value of the Point that specifies the frame's value.

  • y
    The Y value of a Point that specifies the frame's value.

Property Value

Type: System.Windows..::.Point
The key frame's target value, which is the value of this key frame at its specified KeyTime. The default is 0.

Remarks

Dependency property identifier field: ValueProperty

For details on specifying a point as a XAML attribute value, see Point.

The XAML syntax for this property specifies a new Point as a string. The delimiter between the x and y values of the point can be either a comma or a space. Note that the comma usage has potential to clash with the usage of comma as the decimal point in some UI cultures. For more information, see the "XAML Attribute Syntax" section of Point.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

PointKeyFrame Class

System.Windows.Media.Animation Namespace

Other Resources

Animations, motion, and output for Windows Phone