OpacityAnimation.Duration Property

Definition

Gets the amount of time over which the opacity 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 = opacityAnimation.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 opacity is instantly set to its final value and no animation is shown.

Applies to

See also