MediaPlayerElement.AutoPlay Proprietà

Definizione

Ottiene o imposta un valore che indica se i supporti inizieranno automaticamente la riproduzione quando la proprietà Source è impostata.

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

void AutoPlay(bool value);
public bool AutoPlay { get; set; }
var boolean = mediaPlayerElement.autoPlay;
mediaPlayerElement.autoPlay = boolean;
Public Property AutoPlay As Boolean
<MediaPlayerElement AutoPlay="bool" .../>

Valore della proprietà

Boolean

bool

true se la riproduzione è automatica; in caso contrario, false. Il valore predefinito è false.

Si applica a