Share via


PropertyAnimation.Duration Property

Definition

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

public:
 property TimeSpan Duration { TimeSpan get(); };
TimeSpan Duration();
public System.TimeSpan Duration { get; }
var timeSpan = propertyAnimation.duration;
Public ReadOnly Property Duration As TimeSpan

Property Value

The duration of the animation.

Implements

Remarks

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

Applies to

See also