Upravit

Sdílet prostřednictvím


IUITraitEnvironment Interface

Definition

Interface representing the required methods (if any) of the protocol UITraitEnvironment.

[Foundation.Protocol(Name="UITraitEnvironment", WrapperType=typeof(UIKit.UITraitEnvironmentWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUITraitEnvironment : IDisposable, ObjCRuntime.INativeObject
type IUITraitEnvironment = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UITraitEnvironment.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UITraitEnvironment protocol.

Optional methods (if any) are provided by the T:UIKit.UITraitEnvironment_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
TraitCollection

Gets the trait collection that describes the environment.

Methods

TraitCollectionDidChange(UITraitCollection)

The trait collection that describes the environmnent changed.

Applies to