UIInterfaceOrientationExtensions.IsPortrait(UIInterfaceOrientation) Method

Definition

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

Boolean

true if this is a portrait orientation.

Applies to