Windows Dev Center

PointAnimation.From property

Gets or sets the animation's starting value.

Syntax


public Nullable<Point> From { get; set; }


<PointAnimation From=x,y"/>

XAML Values

x

The x-value of the Point that specifies the animation starting value.

y

The y-value of a Point that specifies the animation starting value.

Property value

Type: IReference<Point> [C++] | System.Nullable<Point> [.NET]

The starting value of the animation. The default is null.

If you are programming using C# or Visual Basic, the type of this property is projected as Point? (a nullable Point).

Remarks

A PointAnimation typically has at least one of the From, By or To properties set, but never all three. For more info, see Remarks in PointAnimation.

The null default value indicates that the base non-animated value is the default value for From, not that the animated value is literally null. The base non-animated value is determined at run time by the dependency property system. For more info, see Dependency properties overview.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Media.Animation
Windows::UI::Xaml::Media::Animation [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Media.Animation
Windows::UI::Xaml::Media::Animation [C++]

Metadata

Windows.winmd

See also

PointAnimation

 

 

Show:
© 2015 Microsoft