iOS Guides | Samples

MonoTouch.UIKit.UITraitEnvironment Class

The protocol for accessing a UIViewController's UIViewController.TraitCollection.

See Also: UITraitEnvironment


[MonoTouch.Foundation.Register("UITraitEnvironment", false)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class UITraitEnvironment : NSObject, IUITraitEnvironment, IDisposable

Related content


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

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

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

TraitCollectionUITraitCollection. Gets the trait collection that describes the environment.

Public Methods

The trait collection changed.