Share via


PointAnimation.From 屬性

定義

取得或設定此動畫的起始值。

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

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

屬性值

動畫的起始值。 預設值為 null

如果您使用 C#或 Microsoft Visual Basic 進行程式設計,此屬性的類型會投影為 Point? (可為 Null 的 Point) 。

備註

PointAnimation通常至少有一個 From、ByTo屬性已設定,但絕不會全部三者。 如需詳細資訊,請參閱 PointAnimation中的。

Null預設值表示基底非動畫值是 From 的預設值,而不是動畫值是null。 相依性屬性系統會在執行時間決定基底非動畫值。 如需詳細資訊,請參閱相依性屬性概觀

適用於