AnimationSet.SetDurationForAll Method
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.
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
Returns
AnimationSet to allow chaining