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 XP SP2, Windows Vista, Zune

Community Additions