Dela via


MediaTransportControls.IsCompactOverlayEnabled Property

Definition

Gets or sets a value that indicates whether a user can enter compact overlay mode.

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

void IsCompactOverlayEnabled(bool value);
public bool IsCompactOverlayEnabled { get; set; }
var boolean = mediaTransportControls.isCompactOverlayEnabled;
mediaTransportControls.isCompactOverlayEnabled = boolean;
Public Property IsCompactOverlayEnabled As Boolean

Property Value

Boolean

bool

true to allow the user to enter compact overlay mode; otherwise, false.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to