Timeline Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>)
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
See also
Applies to
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)
Parameters
- duration
- Duration
The length of time for which this timeline plays, not counting repetitions. See the Duration property for more information.
Examples
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
- 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.