SystemMediaTransportControls.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.
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för