UIInterfaceOrientationExtensions.IsPortrait(UIInterfaceOrientation) Method
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.
Determines if the orientation is one of the portrait orientations.
public static bool IsPortrait (this UIKit.UIInterfaceOrientation orientation);
static member IsPortrait : UIKit.UIInterfaceOrientation -> bool
Parameters
- orientation
- UIInterfaceOrientation
The value to operate on.
Returns
true if this is a portrait orientation.