MediaElement.AutoPlay MediaElement.AutoPlay MediaElement.AutoPlay MediaElement.AutoPlay Property

Definition

Gets or sets a value that indicates whether media will begin playback automatically when the Source property is set.

public : Platform::Boolean AutoPlay { get; set; }
bool AutoPlay();

void AutoPlay(bool autoplay);
public bool AutoPlay { get; set; }
Public ReadWrite Property AutoPlay As bool
<MediaElement AutoPlay="bool" .../>

Property Value

bool bool

true if playback is automatic; otherwise, false. The default is true.