UIInterfaceOrientationExtensions UIInterfaceOrientationExtensions Class

Definition

Extensions methods for the UIInterfaceOrientation enumeration.

public static class UIInterfaceOrientationExtensions
type UIInterfaceOrientationExtensions = class
Inheritance
UIInterfaceOrientationExtensionsUIInterfaceOrientationExtensions

Remarks

The extensions methods in this class provide some convenience methods to use with enumerations of the UIInterfaceOrientation type.

Methods

IsLandscape(UIInterfaceOrientation) IsLandscape(UIInterfaceOrientation)

Determines if the origination is one of the landscape values.

IsPortrait(UIInterfaceOrientation) IsPortrait(UIInterfaceOrientation)

Determines if the orientation is one of the portrait orientations.

Applies to