ViewSizePreference enumeration

Applies to Windows only

Defines the set of possible general window (app view) size preferences.

Syntax


var value = Windows.UI.ViewManagement.ViewSizePreference.default;

Attributes

[Version(0x06030000)]

Members

The ViewSizePreference enumeration has these members.

MemberValueDescription
Default | default0

The app does not have a window size preference specified. Windows, rather than the app, sets the size preference, which defaults to UseHalf.

UseLess | useLess1

The window uses less than 50% of the available horizontal screen pixels.

UseHalf | useHalf2

The window uses 50% (half) of the available horizontal screen pixels.

UseMore | useMore3

The window uses more than 50% of the available horizontal screen pixels.

UseMinimum | useMinimum4

The window uses the minimum horizontal pixel width (either 320 or 500 pixels) specifies in the app's manifest (such as package.appxmanifest).

UseNone | useNone5

The window has no visible component.

Remarks

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.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.UI.ViewManagement
Windows::UI::ViewManagement [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft