Windows Dev Center

ViewSizePreference enumeration

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

Syntax


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

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 (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

[Version(0x06030000)]

 

 

Show:
© 2015 Microsoft