Aracılığıyla paylaş


PointAnimation.By Property

Definition

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

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

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

Property Value

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

Applies to