MSAppView object

Defines an instance of a window (app view) and the information that describes it.

Syntax

var result = MSAppView.member;

HTML information

Closing Tag
CSS Display

 

Members

The MSAppView object has these types of members:

  • Methods
  • Properties

Methods

The MSAppView object has these methods.

Method Description
close

Closes the view (window).

postMessage

Asynchronously posts the provided message to the message queue of the target window corresponding to the MSAppView object.

 

Properties

The MSAppView object has these properties.

Property Description

viewId

Gets the ID for the window that’s associated with the MSAppView object.

 

Remarks

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.