Dela via


MediaPlayer.IsMuted Property

Definition

Gets or sets a Boolean value indicating if 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 = mediaPlayer.isMuted;
mediaPlayer.isMuted = boolean;
Public Property IsMuted As Boolean

Property Value

Boolean

bool

True if the audio is muted, otherwise false.

Applies to