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 ResolutionScalepublic enum ResolutionScalePublic Enum ResolutionScale// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Invalid Invalid Invalid Invalid | Specifies the scale of a display is invalid. |
| Scale100Percent Scale100Percent Scale100Percent Scale100Percent | 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 | This value isn't used. |
| Scale125Percent Scale125Percent Scale125Percent Scale125Percent | Specifies the scale of a display as 125 percent. |
| Scale140Percent Scale140Percent Scale140Percent Scale140Percent | 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 | Applies to Windows Phone 8. |
| Scale160Percent Scale160Percent Scale160Percent Scale160Percent | Applies to Windows Phone 8. |
| Scale175Percent Scale175Percent Scale175Percent Scale175Percent | Specifies the scale of a display as 175 percent. |
| Scale180Percent Scale180Percent Scale180Percent Scale180Percent | 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 | Specifies the scale of a display as 200 percent. |
| Scale225Percent Scale225Percent Scale225Percent Scale225Percent | This value isn't used. |
| Scale250Percent Scale250Percent Scale250Percent Scale250Percent | Specifies the scale of a display as 250 percent. |
| Scale300Percent Scale300Percent Scale300Percent Scale300Percent | Specifies the scale of a display as 300 percent. |
| Scale350Percent Scale350Percent Scale350Percent Scale350Percent | Specifies the scale of a display as 350 percent. |
| Scale400Percent Scale400Percent Scale400Percent Scale400Percent | Specifies the scale of a display as 400 percent. |
| Scale450Percent Scale450Percent Scale450Percent Scale450Percent | Specifies the scale of a display as 450 percent. |
| Scale500Percent Scale500Percent Scale500Percent Scale500Percent | 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 app and Windows Phone apps, we recommend these scale factors:
- Windows Store 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)