iOS Guides | Samples

MonoTouch.UIKit.UIInterfaceOrientationExtensions Class

Extensions methods for the UIInterfaceOrientation enumeration.

See Also: UIInterfaceOrientationExtensions

Syntax

public static class UIInterfaceOrientationExtensions

Remarks

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

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIInterfaceOrientationExtensions are listed below.

See Also: Object

Public Methods

static
IsLandscape(this UIInterfaceOrientation) : Boolean
Determines if the origination is one of the landscape values.
static
IsPortrait(this UIInterfaceOrientation) : Boolean
Determines if the orientation is one of the portrait orientations.