Timeline 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 Timeline 類別的新執行個體。
多載
Timeline()
Timeline(Nullable<TimeSpan>)
protected:
Timeline(Nullable<TimeSpan> beginTime);
protected Timeline (TimeSpan? beginTime);
new System.Windows.Media.Animation.Timeline : Nullable<TimeSpan> -> System.Windows.Media.Animation.Timeline
Protected Sub New (beginTime As Nullable(Of TimeSpan))
參數
另請參閱
適用於
Timeline(Nullable<TimeSpan>, Duration)
protected:
Timeline(Nullable<TimeSpan> beginTime, System::Windows::Duration duration);
protected Timeline (TimeSpan? beginTime, System.Windows.Duration duration);
new System.Windows.Media.Animation.Timeline : Nullable<TimeSpan> * System.Windows.Duration -> System.Windows.Media.Animation.Timeline
Protected Sub New (beginTime As Nullable(Of TimeSpan), duration As Duration)
參數
範例
適用於
Timeline(Nullable<TimeSpan>, Duration, RepeatBehavior)
使用指定的 Timeline、BeginTime 和 Duration,初始化 RepeatBehavior 類別的新執行個體。
protected:
Timeline(Nullable<TimeSpan> beginTime, System::Windows::Duration duration, System::Windows::Media::Animation::RepeatBehavior repeatBehavior);
protected Timeline (TimeSpan? beginTime, System.Windows.Duration duration, System.Windows.Media.Animation.RepeatBehavior repeatBehavior);
new System.Windows.Media.Animation.Timeline : Nullable<TimeSpan> * System.Windows.Duration * System.Windows.Media.Animation.RepeatBehavior -> System.Windows.Media.Animation.Timeline
Protected Sub New (beginTime As Nullable(Of TimeSpan), duration As Duration, repeatBehavior As RepeatBehavior)
參數
- repeatBehavior
- RepeatBehavior
這個時刻表的重複行為,可能為反覆 Count 或重複的 Duration。 如需詳細資訊,請參閱 RepeatBehavior 屬性。