OpacityAnimation.Duration Property
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.
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.