ResolutionScale enumeration
Collapse the table of content
Expand the table of content

ResolutionScale enumeration

Describes the scale factor of the immersive environment. The scale factor is determined by the operating system in response to high pixel density screens.

Syntax


public enum ResolutionScale

Members

The ResolutionScale enumeration has these members.

MemberValueDescription
Invalid | invalid0

Specifies the scale of a display is invalid.

Scale100Percent | scale100Percent100

Specifies the scale of a display as 100 percent.

This percentage indicates a minimum screen resolution for Windows all up is 1024x768.

Scale120Percent | scale120Percent120

This value isn't used.

Scale125Percent | scale125Percent125

Specifies the scale of a display as 125 percent.

Scale140Percent | scale140Percent140

Specifies the scale of a display as 140 percent.

This percentage indicates a minimum screen resolution to scale at 140 is 1440x1080.

Scale150Percent | scale150Percent150

Applies to Windows Phone 8.

Scale160Percent | scale160Percent160

Applies to Windows Phone 8.

Scale175Percent | scale175Percent175

Specifies the scale of a display as 175 percent.

Scale180Percent | scale180Percent180

Specifies the scale of a display as 180 percent.

This percentage indicates a minimum screen resolution to scale at 180 is 1920x1440.

Scale200Percent | scale200Percent200

Specifies the scale of a display as 200 percent.

Scale225Percent | scale225Percent225

This value isn't used.

Scale250Percent | scale250Percent250

Specifies the scale of a display as 250 percent.

Scale300Percent | scale300Percent300

Specifies the scale of a display as 300 percent.

Scale350Percent | scale350Percent350

Specifies the scale of a display as 350 percent.

Scale400Percent | scale400Percent400

Specifies the scale of a display as 400 percent.

Scale450Percent | scale450Percent450

Specifies the scale of a display as 450 percent.

Scale500Percent | scale500Percent500

Specifies the scale of a display as 500 percent.

Remarks

For more info on scaling to pixel density, see UX guidelines for layout and scaling.

The Scaling according to DPI sample shows how to use the ResolutionScale enumeration.

For Windows Store apps and Windows Phone apps, we recommend these scale factors:

  • Windows Store apps (100/140/180)
  • Windows Phone apps for Windows Phone 8.1 and later (100/140/240)
  • Windows Phone apps for Windows Phone 8 (100/150/160)

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Graphics.Display
Windows::Graphics::Display [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Graphics.Display
Windows::Graphics::Display [C++]

Metadata

Windows.winmd

Attributes

[Deprecated()]
[Version(0x06020000)]

See also

ResolutionScale Property

 

 

Show:
© 2016 Microsoft