Share via


PointAnimation.By 属性

定义

获取或设置动画更改其起始值所依据的总数。

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"/>

属性值

动画更改其起始值所依据的总数。 默认值为 null

如果使用 C#或 Microsoft Visual Basic 进行编程,则此属性的类型投影为 Point? (可为 null 的 Point) 。

注解

PointAnimation 通常至少设置了一个 From、By 或 To 属性,但从来不是全部三个属性。 有关详细信息,请参阅 PointAnimation 中的备注。

null 默认值指示基非动画值是 By 的默认值,而不是动画值字面上为 null。 基础非动画值在运行时由依赖属性系统确定。 有关详细信息,请参阅依赖属性概述

适用于