Edit

Share via


MediaElement.HasAudio Property

Definition

Gets a value indicating whether the media has audio.

public:
 property bool HasAudio { bool get(); };
public bool HasAudio { get; }
member this.HasAudio : bool
Public ReadOnly Property HasAudio As Boolean

Property Value

true if the media has audio; otherwise, false.

Applies to