ResolutionScale ResolutionScale ResolutionScale ResolutionScale ResolutionScale Enum

Definition

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

public : enum class ResolutionScale
enum class winrt::Windows::Graphics::Display::ResolutionScale : int32_t
public enum ResolutionScale
Public Enum ResolutionScale
var value = Windows.Graphics.Display.ResolutionScale.invalid;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Invalid Invalid Invalid Invalid Invalid 0

Specifies the scale of a display is invalid.

Scale100Percent Scale100Percent Scale100Percent Scale100Percent Scale100Percent 100

Specifies the scale of a display as 100 percent. This percentage indicates a minimum screen resolution for Windows all up is 1024x768.

Scale120Percent Scale120Percent Scale120Percent Scale120Percent Scale120Percent 120

This value isn't used.

Scale125Percent Scale125Percent Scale125Percent Scale125Percent Scale125Percent 125

Specifies the scale of a display as 125 percent.

Scale140Percent Scale140Percent Scale140Percent Scale140Percent Scale140Percent 140

Specifies the scale of a display as 140 percent. This percentage indicates a minimum screen resolution to scale at 140 is 1440x1080.

Scale150Percent Scale150Percent Scale150Percent Scale150Percent Scale150Percent 150

Applies to Windows Phone 8.

Scale160Percent Scale160Percent Scale160Percent Scale160Percent Scale160Percent 160

Applies to Windows Phone 8.

Scale175Percent Scale175Percent Scale175Percent Scale175Percent Scale175Percent 175

Specifies the scale of a display as 175 percent.

Scale180Percent Scale180Percent Scale180Percent Scale180Percent Scale180Percent 180

Specifies the scale of a display as 180 percent. This percentage indicates a minimum screen resolution to scale at 180 is 1920x1440.

Scale200Percent Scale200Percent Scale200Percent Scale200Percent Scale200Percent 200

Specifies the scale of a display as 200 percent.

Scale225Percent Scale225Percent Scale225Percent Scale225Percent Scale225Percent 225

This value isn't used.

Scale250Percent Scale250Percent Scale250Percent Scale250Percent Scale250Percent 250

Specifies the scale of a display as 250 percent.

Scale300Percent Scale300Percent Scale300Percent Scale300Percent Scale300Percent 300

Specifies the scale of a display as 300 percent.

Scale350Percent Scale350Percent Scale350Percent Scale350Percent Scale350Percent 350

Specifies the scale of a display as 350 percent.

Scale400Percent Scale400Percent Scale400Percent Scale400Percent Scale400Percent 400

Specifies the scale of a display as 400 percent.

Scale450Percent Scale450Percent Scale450Percent Scale450Percent Scale450Percent 450

Specifies the scale of a display as 450 percent.

Scale500Percent Scale500Percent Scale500Percent Scale500Percent Scale500Percent 500

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 UWP apps and Windows Phone apps, we recommend these scale factors:

  • UWP app (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)

See Also