Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsShuffled Property

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)

public static bool IsShuffled { get; set; }

Property Value

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

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

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

Community Additions

© 2015 Microsoft