IPropertyAnimation.Duration property

Applies to Windows only

Gets the amount of time over which the animation should be performed. This does not include the delay.

Syntax


TimeSpan Duration { get; }

Property value

Type: System.TimeSpan [.NET] | Windows::Foundation::TimeSpan [C++]

The duration of the animation.

Remarks

The duration can be 0, in which case all animated properties are instantly set to their final values and no animation is shown.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.UI.Core.AnimationMetrics
Windows::UI::Core::AnimationMetrics [C++]

Metadata

Windows.winmd

See also

IPropertyAnimation
Delay
Animation metrics sample

 

 

Show:
© 2014 Microsoft