Represents the active application view and associated states and behaviors.
public : sealed class ApplicationView : IApplicationView, IApplicationView2, IApplicationView3, IApplicationView4
struct winrt::Windows::UI::ViewManagement::ApplicationView : IApplicationView, IApplicationView2, IApplicationView3, IApplicationView4
public sealed class ApplicationView : IApplicationView, IApplicationView2, IApplicationView3, IApplicationView4
Public NotInheritable Class ApplicationView Implements IApplicationView, IApplicationView2, IApplicationView3, IApplicationView4
// This class does not provide a public constructor.
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
A window (also called an app view) is the displayed portion of a Windows Runtime app. On Windows, a user's screen can have up to 4 windows of variable width displayed simultaneously. They do not overlap, and their top and bottom edges touch the top and bottom edges of the screen. There may be non-window areas between adjacent windows.
The window is not the same thing as the current page of the application. It is better thought of as the container of the pages; you can use the window reference in your program for all the pages of the application.
Each window has a corresponding CoreWindow that represents the UI processing thread (including the core input handlers and event dispatcher) for the window.
To obtain an object of this type, call ApplicationView.GetForCurrentView.
Do not use the value returned in the Value ApplicationView.Value property when creating a page layout. This method is deprecated and may not be available in future releases.
|AdjacentToLeftDisplayEdge AdjacentToLeftDisplayEdge AdjacentToLeftDisplayEdge AdjacentToLeftDisplayEdge AdjacentToLeftDisplayEdge||
Gets a value that indicates whether the current window is in close proximity to the left edge of the screen.
|AdjacentToRightDisplayEdge AdjacentToRightDisplayEdge AdjacentToRightDisplayEdge AdjacentToRightDisplayEdge AdjacentToRightDisplayEdge||
Gets a value that indicates whether the current window is in close proximity to the right edge of the screen.
|DesiredBoundsMode DesiredBoundsMode DesiredBoundsMode DesiredBoundsMode DesiredBoundsMode||
Gets a value that indicates the bounds used by the framework to lay out the contents of the window (app view).
|FullScreenSystemOverlayMode FullScreenSystemOverlayMode FullScreenSystemOverlayMode FullScreenSystemOverlayMode FullScreenSystemOverlayMode||
Gets or sets a value that indicates how an app in full-screen mode responds to edge swipe actions.
|Id Id Id Id Id||
Gets the ID of the window (app view).
|IsFullScreen IsFullScreen IsFullScreen IsFullScreen IsFullScreen||
Gets a value that indicates whether the window touches both the left and right sides of the display.
|IsFullScreenMode IsFullScreenMode IsFullScreenMode IsFullScreenMode IsFullScreenMode||
Gets a value that indicates whether the app is running in full-screen mode.
|IsOnLockScreen IsOnLockScreen IsOnLockScreen IsOnLockScreen IsOnLockScreen||
Gets whether the window (app view) is on the Windows lock screen.
|IsScreenCaptureEnabled IsScreenCaptureEnabled IsScreenCaptureEnabled IsScreenCaptureEnabled IsScreenCaptureEnabled||
Gets or sets whether screen capture is enabled for the window (app view).
|Orientation Orientation Orientation Orientation Orientation||
Gets the current orientation (landscape or portrait) of the window (app view) with respect to the display.
|PreferredLaunchViewSize PreferredLaunchViewSize PreferredLaunchViewSize PreferredLaunchViewSize PreferredLaunchViewSize||
Gets or sets the size that the app launches with when the ApplicationView.PreferredLaunchWindowingMode property is set to PreferredLaunchViewSize, except in cases where the system manages the window size directly.
|PreferredLaunchWindowingMode PreferredLaunchWindowingMode PreferredLaunchWindowingMode PreferredLaunchWindowingMode PreferredLaunchWindowingMode||
Gets or sets a value that indicates the windowing mode the app launches with.
|SuppressSystemOverlays SuppressSystemOverlays SuppressSystemOverlays SuppressSystemOverlays SuppressSystemOverlays||
Gets or sets a value indicating whether or not system overlays (such as overlay applications or the soft steering wheel) should be shown.
|TerminateAppOnFinalViewClose TerminateAppOnFinalViewClose TerminateAppOnFinalViewClose TerminateAppOnFinalViewClose TerminateAppOnFinalViewClose||
Indicates whether the app terminates when the last window is closed.
|Title Title Title Title Title||
Gets or sets the displayed title of the window.
|TitleBar TitleBar TitleBar TitleBar TitleBar||
Gets the title bar of the app.
|Value Value Value Value Value||
Gets the state of the current window (app view).
|ViewMode ViewMode ViewMode ViewMode ViewMode||
Gets the app view mode for the current view.
|VisibleBounds VisibleBounds VisibleBounds VisibleBounds VisibleBounds||
Gets the visible region of the window (app view). The visible region is the region not occluded by chrome such as the status bar and app bar.
|Consolidated Consolidated Consolidated Consolidated Consolidated||
Occurs when the window is removed from the list of recently used apps, or if the user executes a close gesture on it.
|VisibleBoundsChanged VisibleBoundsChanged VisibleBoundsChanged VisibleBoundsChanged VisibleBoundsChanged||
This event is raised when the value of VisibleBounds changes, typically as a result of the status bar, app bar, or other chrome being shown or hidden.