MediaElement.IsLooping Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that describes whether the media source currently loaded in the media engine should automatically set the position to the media start after reaching its end.
public:
property bool IsLooping { bool get(); void set(bool value); };
bool IsLooping();
void IsLooping(bool value);
public bool IsLooping { get; set; }
var boolean = mediaElement.isLooping;
mediaElement.isLooping = boolean;
Public Property IsLooping As Boolean
<MediaElement IsLooping="bool"/>
Property Value
Boolean
bool
true to loop the media and play continuously. false to not loop the media automatically. The default is false.