Delen via


MediaElement.IsLooping Property

Definition

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.

Applies to