Share via


MediaPlayer.IsShuffled Property

Gets or sets the shuffle setting for the media player.

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

Syntax

public static bool IsShuffled { get; set; }

Property Value

true if the current play queue is set to shuffled; false otherwise.

Remarks

When IsShuffled is true, songs in the playback queue are played in random order rather than from first to last.

See Also

Reference

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

Platforms

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