ApplicationView.SuppressSystemOverlays Property

Definition

Note

SuppressSystemOverlays may be altered or unavailable for releases after Windows 10. Instead, use TryEnterFullScreenMode and FullScreenSystemOverlayMode.

Gets or sets a value indicating whether or not system overlays (such as overlay applications or the soft steering wheel) should be shown.

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

void SuppressSystemOverlays(bool value);
/// [get: Windows.Foundation.Metadata.Deprecated("Use the TryEnterFullScreen method and IsFullScreenMode property instead of SuppressSystemOverlays. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("Use the TryEnterFullScreen method and IsFullScreenMode property instead of SuppressSystemOverlays. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
bool SuppressSystemOverlays();

void SuppressSystemOverlays(bool value);
public bool SuppressSystemOverlays { get; set; }
[get: Windows.Foundation.Metadata.Deprecated("Use the TryEnterFullScreen method and IsFullScreenMode property instead of SuppressSystemOverlays. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
[set: Windows.Foundation.Metadata.Deprecated("Use the TryEnterFullScreen method and IsFullScreenMode property instead of SuppressSystemOverlays. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public bool SuppressSystemOverlays { get; set; }
var boolean = applicationView.suppressSystemOverlays;
applicationView.suppressSystemOverlays = boolean;
Public Property SuppressSystemOverlays As Boolean

Property Value

Boolean

true if system overlays (such as overlay applications or the soft steering wheel) should be shown; otherwise, false.

Attributes

Remarks

Windows 10 For Universal Windows Platform (UWP) app on Windows 10, this property is deprecated. This property has an effect only on the mobile device family.

To launch your app in full screen mode, set PreferredLaunchWindowingMode to FullScreen. To enter full screen mode after your app is launched, call TryEnterFullScreenMode. To exit full screen mode, call ExitFullScreenMode.

To suppress edge gestures, set FullScreenSystemOverlayMode to Minimal.

Windows Phone 8.1 You can set your app to "full-screen" by setting this property to true. A full-screen app, such as a game, is not occluded by overlay apps. An overlay app is one that shows its UI in the Overlay Layer, which is positioned in a layer above the app and lock layers, but below certain other chrome elements (such as the SIP). An example of an overlay app is an instant messaging app that displays a UI that overlays the app below.

In addition, by setting SuppressSystemOverlays to true, accidental taps of the Search button are far less likely to affect the app. When SuppressSystemOverlays is set to true, the user must tap the Search button twice in close succession to actuate the Search experience, which overlays the running app. We recommend using this property to opt into this behavior only in these cases: user feedback shows that accidental taps of the Search button are likely based on the layout of your app; if your app shows full-screen media content; or if your app uses camera functionality or the viewfinder.

SuppressSystemOverlays is true by default for an app associated with the Games category, and false by default for an application associated with any other category.

Applies to