TimelineGroup Constructors

Definition

Initializes a new instance of the TimelineGroup class.

Overloads

TimelineGroup()

Initializes a new instance of the TimelineGroup class, with default properties.

TimelineGroup(Nullable<TimeSpan>)

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

TimelineGroup(Nullable<TimeSpan>, Duration)

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

TimelineGroup(Nullable<TimeSpan>, Duration, RepeatBehavior)

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

TimelineGroup()

Initializes a new instance of the TimelineGroup class, with default properties.

C#
protected TimelineGroup();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

TimelineGroup(Nullable<TimeSpan>)

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

C#
protected TimelineGroup(TimeSpan? beginTime);

Parameters

beginTime
Nullable<TimeSpan>

The BeginTime for this TimelineGroup.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

TimelineGroup(Nullable<TimeSpan>, Duration)

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

C#
protected TimelineGroup(TimeSpan? beginTime, System.Windows.Duration duration);

Parameters

beginTime
Nullable<TimeSpan>

The BeginTime for this TimelineGroup.

duration
Duration

The Duration for this TimelineGroup.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

TimelineGroup(Nullable<TimeSpan>, Duration, RepeatBehavior)

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

C#
protected TimelineGroup(TimeSpan? beginTime, System.Windows.Duration duration, System.Windows.Media.Animation.RepeatBehavior repeatBehavior);

Parameters

beginTime
Nullable<TimeSpan>

The BeginTime for this TimelineGroup.

duration
Duration

The Duration for this TimelineGroup.

repeatBehavior
RepeatBehavior

The RepeatBehavior for this TimelineGroup.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10