DisplayInformation.NativeOrientation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
property DisplayOrientations NativeOrientation { DisplayOrientations get(); };
DisplayOrientations NativeOrientation();
public DisplayOrientations NativeOrientation { get; }
var displayOrientations = displayInformation.nativeOrientation;
Public ReadOnly Property NativeOrientation As DisplayOrientations
Property Value
The native orientation of the display monitor.
Remarks
NativeOrientation returns only the Landscape or Portrait value. NativeOrientation never returns the LandscapeFlipped or PortraitFlipped value.