Share via


MediaElement.IsMuted Property

Definition

Gets or sets a value indicating whether the audio is muted.

public:
 property bool IsMuted { bool get(); void set(bool value); };
bool IsMuted();

void IsMuted(bool value);
public bool IsMuted { get; set; }
var boolean = mediaElement.isMuted;
mediaElement.isMuted = boolean;
Public Property IsMuted As Boolean
<MediaElement IsMuted="bool" .../>

Property Value

Boolean

bool

true if audio is muted; otherwise, false. The default is false.

Applies to