MediaTransportControls.IsCompactOverlayButtonVisible Property


Gets or sets a value that indicates whether the compact overlay button is shown.

 property bool IsCompactOverlayButtonVisible { bool get(); void set(bool value); };
bool IsCompactOverlayButtonVisible();

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

Property Value



true to show the compact overlay button. false to hide the compact overlay button. The default is 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