DisplayInformation.ScreenHeightInRawPixels Property


Returns the current height resolution of the logical monitor.

 property unsigned int ScreenHeightInRawPixels { unsigned int get(); };
uint32_t ScreenHeightInRawPixels();
public uint ScreenHeightInRawPixels { get; }
var uInt32 = displayInformation.screenHeightInRawPixels;
Public ReadOnly Property ScreenHeightInRawPixels 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