Edit

Share via


AnimationSet.SetDurationForAll Method

Definition

Overloads

SetDurationForAll(Double)

Overwrites the duration on all animations to the specified value

SetDurationForAll(TimeSpan)

Overwrites the duration on all animations to the specified value

SetDurationForAll(Double)

Overwrites the duration on all animations to the specified value

public Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet SetDurationForAll (double duration);
member this.SetDurationForAll : double -> Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet
Public Function SetDurationForAll (duration As Double) As AnimationSet

Parameters

duration
Double

The duration in milliseconds

Returns

AnimationSet to allow chaining

Applies to

SetDurationForAll(TimeSpan)

Overwrites the duration on all animations to the specified value

public Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet SetDurationForAll (TimeSpan duration);
member this.SetDurationForAll : TimeSpan -> Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet
Public Function SetDurationForAll (duration As TimeSpan) As AnimationSet

Parameters

duration
TimeSpan

TimeSpan for the duration

Returns

AnimationSet to allow chaining

Applies to