DisplayProperties.NativeOrientation DisplayProperties.NativeOrientation DisplayProperties.NativeOrientation DisplayProperties.NativeOrientation DisplayProperties.NativeOrientation Property

Definition

Note

DisplayProperties may be altered or unavailable for releases after Windows 8.1. Instead, use DisplayInformation.

Gets the native orientation of the display monitor, which is typically the orientation where the buttons on the device match the orientation of the monitor.

public : static DisplayOrientations NativeOrientation { get; }
static DisplayOrientations NativeOrientation();
public static DisplayOrientations NativeOrientation { get; }
Public Shared ReadOnly Property NativeOrientation As DisplayOrientations
var displayOrientations = Windows.Graphics.Display.DisplayProperties.nativeOrientation;

Property Value

The native orientation of the display monitor.