Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaPlaybackCommandManager.IsEnabled Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets a value indicating whether the MediaPlaybackCommandManager is enabled.

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

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

Property Value

Boolean

bool

True if the MediaPlaybackCommandManager is enabled; otherwise, false.

Remarks

If your app scenario requires manual control of the System Media Transport Controls you can disable the MediaPlaybackCommandManager and using the events and properties of the SystemMediaTransportControls directly.

Note

If you disable the MediaPlaybackCommandManager by setting IsEnabled to false, it will break the link between the MediaPlayer the TransportControls provided by the MediaPlayerElement, so the built-in transport controls will no longer automatically control the playback of the player. Instead, you must implement your own controls to control the MediaPlayer.

Applies to


Feedback

Was this page helpful?