語言

Timeline 建構函式

定義

初始化 Timeline 類別的新執行個體。

多載

名稱 Description
Timeline()

初始化 Timeline 類別的新執行個體。

Timeline(Nullable<TimeSpan>)

使用指定的 Timeline,初始化 BeginTime 類別的新實例。

Timeline(Nullable<TimeSpan>, Duration)

初始化一個新的類別實例 Timeline ,並指定為 BeginTimeDuration和 。

Timeline(Nullable<TimeSpan>, Duration, RepeatBehavior)

初始化該類別的新實例 Timeline ,包含指定的 BeginTime、 Duration、 RepeatBehavior和 。

Timeline()

初始化 Timeline 類別的新執行個體。

protected:
 Timeline();
protected Timeline();
Protected Sub New ()

適用於

Timeline(Nullable<TimeSpan>)

使用指定的 Timeline,初始化 BeginTime 類別的新實例。

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))

參數

beginTime
Nullable<TimeSpan>

這應該是從什麼 Timeline 時候開始的。 詳情請參閱該 BeginTime 物業。

另請參閱

適用於

Timeline(Nullable<TimeSpan>, Duration)

初始化一個新的類別實例 Timeline ,並指定為 BeginTimeDuration和 。

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)

參數

beginTime
Nullable<TimeSpan>

這應該是從什麼 Timeline 時候開始的。 詳情請參閱該 BeginTime 物業。

duration
Duration

這條時間線播放的時間長度,不包括重複次數。 詳情請參閱該 Duration 物業。

範例

BeginTime

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)

參數

beginTime
Nullable<TimeSpan>

這應該是從什麼 Timeline 時候開始的。 詳情請參閱該 BeginTime 物業。

duration
Duration

這條時間線播放的時間長度,不包括重複次數。 詳情請參閱該 Duration 物業。

repeatBehavior
RepeatBehavior

這條時間線的重複行為,不論是迭代 Count 還是重複 Duration。 詳情請參閱該 RepeatBehavior 物業。

範例

BeginTime

Duration

適用於