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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for