UIInterfaceOrientationExtensions Class
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.
Extensions methods for the UIInterfaceOrientation enumeration.
public static class UIInterfaceOrientationExtensions
type UIInterfaceOrientationExtensions = class
- Inheritance
-
UIInterfaceOrientationExtensions
Remarks
The extensions methods in this class provide some convenience methods to use with enumerations of the UIInterfaceOrientation type.
Methods
IsLandscape(UIInterfaceOrientation) |
Determines if the origination is one of the landscape values. |
IsPortrait(UIInterfaceOrientation) |
Determines if the orientation is one of the portrait orientations. |