Dela via


SystemMediaTransportControls.IsEnabled Property

Definition

Enables and disables the system media transport controls for the app.

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

void IsEnabled(bool value);
public bool IsEnabled { get; set; }
var boolean = systemMediaTransportControls.isEnabled;
systemMediaTransportControls.isEnabled = boolean;
Public Property IsEnabled As Boolean

Property Value

Boolean

bool

true if the system transport controls are enabled for the app; otherwise, false.

Remarks

Setting IsEnabled to false will disable the apps support for the system media transport controls, so the controls will not show. Setting IsEnabled to true will re-enable the controls for the app.

Applies to