RepeatBehavior.Duration Property

Definition

Gets the total length of time a Windows.UI.Xaml.Media.Animation.Timeline should play.

public:
 property TimeSpan Duration { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan Duration { get; set; }
member this.Duration : TimeSpan with get, set
Public Property Duration As TimeSpan

Property Value

The total length of time a timeline should play.

Exceptions

This RepeatBehavior describes an iteration count, not a repeat duration.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) RepeatBehavior struct. For more information, see RepeatBehavior in the UWP API reference.

Applies to