Редагувати

Поділитися через


Timeline Constructors

Definition

Initializes a new instance of the Timeline class.

Overloads

Timeline()

Initializes a new instance of the Timeline class.

Timeline(Nullable<TimeSpan>)

Initializes a new instance of the Timeline class with the specified BeginTime.

Timeline(Nullable<TimeSpan>, Duration)

Initializes a new instance of the Timeline class with the specified BeginTime and Duration.

Timeline(Nullable<TimeSpan>, Duration, RepeatBehavior)

Initializes a new instance of the Timeline class with the specified BeginTime, Duration, and RepeatBehavior.

Timeline()

Initializes a new instance of the Timeline class.

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

Applies to

Timeline(Nullable<TimeSpan>)

Initializes a new instance of the Timeline class with the specified 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))

Parameters

beginTime
Nullable<TimeSpan>

The time at which this Timeline should begin. See the BeginTime property for more information.

See also

Applies to

Timeline(Nullable<TimeSpan>, Duration)

Initializes a new instance of the Timeline class with the specified BeginTime and 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)

Parameters

beginTime
Nullable<TimeSpan>

The time at which this Timeline should begin. See the BeginTime property for more information.

duration
Duration

The length of time for which this timeline plays, not counting repetitions. See the Duration property for more information.

Examples

BeginTime

Duration

Applies to

Timeline(Nullable<TimeSpan>, Duration, RepeatBehavior)

Initializes a new instance of the Timeline class with the specified BeginTime, Duration, and 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)

Parameters

beginTime
Nullable<TimeSpan>

The time at which this Timeline should begin. See the BeginTime property for more information.

duration
Duration

The length of time for which this timeline plays, not counting repetitions. See the Duration property for more information.

repeatBehavior
RepeatBehavior

The repeating behavior of this timeline, either as an iteration Count or a repeat Duration. See the RepeatBehavior property for more information.

Examples

BeginTime

Duration

Applies to