Bagikan melalui


MediaPlayer.IsMuted Property

Gets or set the muted setting for the media player.

Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static bool IsMuted { get; set; }

Property Value

true if sound is muted; false otherwise.

See Also

Reference

MediaPlayer.Volume Property
MediaPlayer Class
MediaPlayer Members
Microsoft.Xna.Framework.Media Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone