Defines an instance of a window (app view) and the information that describes it.
The ApplicationView class has these types of members:
The ApplicationView class has these events.
|Consolidated||Occurs when the window is removed from the list of recently used apps or if the user executes a close gesture on it.|
The ApplicationView class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.
|GetApplicationViewIdForWindow||Gets the window ID that corresponds to a specific CoreWindow managed by the app.|
|GetForCurrentView||Gets the window (app view) for the current app.|
|TryUnsnap||Attempts to unsnap a previously snapped app.|
The ApplicationView class has these properties.
|Read-only||Gets whether the current window (app view) is adjacent to the left edge of the screen.|
|Read-only||Gets whether the current window (app view) is adjacent to the right edge of the screen.|
|Read-only||Gets the current ID of the window (app view) .|
|Read-only||Gets whether the window (app view) is full screen or not.|
|Read-only||Gets whether the window (app view) is on the Windows lock screen.|
|Read/write||Gets or sets whether screen capture is enabled for the window (app view).|
|Read-only||Gets the current orientation of the window (app view) with respect to the display.|
|Read/write||Indicates whether the app terminates when the last window is closed.|
|Read/write||Gets or sets the displayed title of the window.|
|Read-only||Gets the state of the current app view.|
To obtain an instance of this type, call ApplicationView.GetForCurrentView.
A window (also called an "app view") is the displayed portion of a Windows Store app, and which can be variably sized by the user. A user's screen can have up to 4 app views of variable width displayed simultaneously, with a combined horizontal pixel width equal to that of the display device's horizontal resolution. Each window has a corresponding CoreWindow that represents the UI processing thread (including the core input handlers and event dispatcher) for the window.
Note Do not use the value returned in the ApplicationView.Value property when creating a layout in a hosted environment.
Minimum supported client
|Windows 8 [Windows Store apps only]|
Minimum supported server
|Windows Server 2012 [Windows Store apps only]|
Build date: 11/16/2013