MediaElement.IsAudioOnly Property

Definition

Gets a value that reports whether the current source media is an audio-only media file.

public:
 property bool IsAudioOnly { bool get(); };
bool IsAudioOnly();
public bool IsAudioOnly { get; }
var boolean = mediaElement.isAudioOnly;
Public ReadOnly Property IsAudioOnly As Boolean

Property Value

Boolean

bool

true if the current source media is audio-only, otherwise, false.

Applies to