Szerkesztés

Megosztás a következőn keresztül:


MediaPlayer.NaturalDuration Property

Definition

Gets the natural duration of the media.

public:
 property System::Windows::Duration NaturalDuration { System::Windows::Duration get(); };
public System.Windows.Duration NaturalDuration { get; }
member this.NaturalDuration : System.Windows.Duration
Public ReadOnly Property NaturalDuration As Duration

Property Value

The natural duration of the media. The default is Automatic.

Remarks

NaturalDuration cannot be determined until after MediaOpened has occurred.

Applies to