Share via


MediaPlayer.IsRepeating Property

Gets or sets the repeat setting for the media player.

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

Syntax

public static bool IsRepeating { get; set; }

Property Value

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

Remarks

When IsRepeating is true, the playback queue will begin playing again after all songs in the queue have been played.

See Also

Reference

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

Platforms

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