DisplayInformation.ScreenWidthInRawPixels Property


Returns the current width resolution of the logical monitor.

 property unsigned int ScreenWidthInRawPixels { unsigned int get(); };
uint32_t ScreenWidthInRawPixels();
public uint ScreenWidthInRawPixels { get; }
var uInt32 = displayInformation.screenWidthInRawPixels;
Public ReadOnly Property ScreenWidthInRawPixels As UInteger

Property Value



Returns the current resolution of the logical monitor containing the application’s view. When the application’s view is moved to another logical monitor, this property will reflect the new logical monitor’s resolution.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to