RectAnimationUsingKeyFrames.KeyFrames 屬性

定義

取得或設定定義動畫的 RectKeyFrame 物件集合。

public:
 property System::Windows::Media::Animation::RectKeyFrameCollection ^ KeyFrames { System::Windows::Media::Animation::RectKeyFrameCollection ^ get(); void set(System::Windows::Media::Animation::RectKeyFrameCollection ^ value); };
public System.Windows.Media.Animation.RectKeyFrameCollection KeyFrames { get; set; }
member this.KeyFrames : System.Windows.Media.Animation.RectKeyFrameCollection with get, set
Public Property KeyFrames As RectKeyFrameCollection

屬性值

定義動畫的 RectKeyFrame 物件集合。 預設值是 Empty

備註

主要畫面格動畫的目標值是由其 KeyFrames 屬性所定義,其中包含 物件的集合 RectKeyFrame 。 每個都會 RectKeyFrame 使用自己的目標和 ValueKeyTime 來定義動畫的區段。 當動畫執行時,它會在指定的索引鍵時間從一個索引鍵值前進到下一個索引鍵值。

適用於

另請參閱