Share via


UIInterfaceOrientationExtensions Class

Definition

Extension methods for the UIInterfaceOrientation enumeration.

public static class UIInterfaceOrientationExtensions
type UIInterfaceOrientationExtensions = class
Inheritance
UIInterfaceOrientationExtensions

Remarks

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

Methods

Name Description
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