Share via


TranslationAnimation.Duration Property

Definition

Gets the amount of time over which the translation 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 = translationAnimation.duration;
Public ReadOnly Property Duration As TimeSpan

Property Value

The duration of the animation.

Implements

Remarks

The duration can be 0, in which case the object instantly jumps to its final position and no animation is shown.

Applies to

See also