The members of UIKit.UITraitCollection are listed below.
See Also: Inherited members from Foundation.NSObject
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. |
[read-only] override | ClassHandle | IntPtr. The handle for this class. |
[read-only] | DisplayScale | nfloat. The specified display scale for this trait collection. |
[read-only] | HorizontalSizeClass | UIUserInterfaceSizeClass. The specified horizontal size class specified for this trait collection. |
[read-only] | UserInterfaceIdiom | UIUserInterfaceIdiom. The specified user interface idiom specified for this trait collection. |
[read-only] | VerticalSizeClass | UIUserInterfaceSizeClass. The specified vertical size class specified for this trait collection. |
Contains(UITraitCollection)Probes whether this UITraitCollection contains all the traits specified. | ||
Copy(Foundation.NSZone)Performs a copy of the underlying Objective-C object. | ||
EncodeTo(Foundation.NSCoder)Encodes the state of the object on the provided encoder | ||
static | FromDisplayScale(nfloat)Creates a new UITraitCollection object where only the display scale has been specified. | |
static | FromHorizontalSizeClass(UIUserInterfaceSizeClass)Creates a new UITraitCollection object where only the horizontal size class has been specified. | |
static | FromTraitsFromCollections(UITraitCollection[])Creates and returns a new trait collection by merging the trait collections that are contained in traitCollections. | |
static | FromUserInterfaceIdiom(UIUserInterfaceIdiom)Creates a new UITraitCollection object where only the user interface idiom has been specified. | |
static | FromVerticalSizeClass(UIUserInterfaceSizeClass)Creates a new UITraitCollection object where only the vertical size class has been specified. |