Dela via


MediaTransportControls.IsRepeatEnabled Property

Definition

Gets or sets a value that indicates whether a user repeat the playback of the media.

public:
 property bool IsRepeatEnabled { bool get(); void set(bool value); };
bool IsRepeatEnabled();

void IsRepeatEnabled(bool value);
public bool IsRepeatEnabled { get; set; }
var boolean = mediaTransportControls.isRepeatEnabled;
mediaTransportControls.isRepeatEnabled = boolean;
Public Property IsRepeatEnabled As Boolean
<MediaTransportControls IsRepeatEnabled="bool" .../>

Property Value

Boolean

bool

true to allow the user to repeat the media; otherwise, false. The default is false.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to