UIInterfaceOrientationExtensions Class

Definition

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.

Applies to