AnimatedVisualPlayer.Duration Property

Definition

Gets the duration of the the currently loaded animated visual, or TimeSpan.Zero if no animated visual is loaded.

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

Property Value

The duration of the the currently loaded animated visual, or TimeSpan.Zero if no animated visual is loaded.

Applies to