PointAnimation.By property

Applies to Windows and Windows Phone

Gets or sets the total amount by which the animation changes its starting value.

Syntax


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


<PointAnimation By="x,y"/>

XAML Values

x

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

y

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

Property value

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

The total amount by which the animation changes its starting value. 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 By, 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

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:
© 2014 Microsoft. All rights reserved.