ColorAnimation.From 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定此動畫的起始值。
public:
property IReference<Color> ^ From { IReference<Color> ^ get(); void set(IReference<Color> ^ value); };
IReference<Color> From();
void From(IReference<Color> value);
public System.Nullable<Color> From { get; set; }
var iReference = colorAnimation.from;
colorAnimation.from = iReference;
Public Property From As Nullable(Of Color)
<ColorAnimation From="colorString"/>
-or-
<ColorAnimation From="referenceToColor"/>
- or -
<ColorAnimation>
<ColorAnimation.From>
<Color>colorString</Color>
</ColorAnimation.From>
</ColorAnimation>
屬性值
動畫的起始值。 預設值是 null。
如果您使用 C# 或 Visual Basic 進行程式設計,此屬性的類型會投影為 Color? (可為 Null 的 Color) 。