Share via


PointAnimation.To Property

Definition

Gets or sets the animation's ending value.

public:
 property IReference<Point> ^ To { IReference<Point> ^ get(); void set(IReference<Point> ^ value); };
IReference<Point> To();

void To(IReference<Point> value);
public System.Nullable<Point> To { get; set; }
var iReference = pointAnimation.to;
pointAnimation.to = iReference;
Public Property To As Nullable(Of Point)
<PointAnimation To="x,y"/>

Property Value

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

If you are programming using C#or Microsoft 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 To, 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.

Applies to