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。 相依性屬性系統會在執行時間判斷基底非動畫值。 如需詳細資訊,請參閱相依性屬性概觀

適用於