Dela via


ApplicationView.IsFullScreen Property

Definition

Note

IsFullScreen may be altered or unavailable for releases after Windows 10. Instead, use IsFullScreenMode.

Gets a value that indicates whether the window touches both the left and right sides of the display.

public:
 property bool IsFullScreen { bool get(); };
bool IsFullScreen();
/// [get: Windows.Foundation.Metadata.Deprecated("To check full screen mode, use IsFullScreenMode. To check if the view is adjacent to both edges, use AdjacentToLeftDisplayEdge and AdjacentToRightDisplayEdge. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
bool IsFullScreen();
public bool IsFullScreen { get; }
public bool IsFullScreen { [Windows.Foundation.Metadata.Deprecated("To check full screen mode, use IsFullScreenMode. To check if the view is adjacent to both edges, use AdjacentToLeftDisplayEdge and AdjacentToRightDisplayEdge. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var boolean = applicationView.isFullScreen;
Public ReadOnly Property IsFullScreen As Boolean

Property Value

Boolean

bool

true if the window touches both the left and right sides of the display; otherwise, false.

Attributes

Remarks

The system raises the CoreWindow.SizeChanged event when the value of this property changes. This is exposed to XAML apps as the Window.SizeChanged event and to HTML apps as the window.resize event.

The property is a nonstatic member of the window object. For JavaScript, this means that it is a property of the window object that getForCurrentView creates, not of the ApplicationView class.

Windows 10 In Windows 10, apps run in resizable windows and this property is deprecated. To check if the app is full screen, use the IsFullScreenMode property. To check if the app is close to the edges of the display, use the AdjacentToLeftDisplayEdge and AdjacentToRightDisplayEdge properties.

Windows 8 In Windows 8, apps always use the full height of the screen, so this property returns true if the app touches both sides of the display.

Applies to