MediaTransportControls.IsCompactOverlayEnabled Property


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

 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



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