Edit

Share via


IUIContentContainer Interface

Definition

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

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

Remarks

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

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 UIContentContainer protocol.

Optional methods (if any) are provided by the T:UIKit.UIContentContainer_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)
PreferredContentSize

Gets the preferred size for the content of the container.

Methods

GetSizeForChildContentContainer(IUIContentContainer, CGSize)

Gets the size of the content of the specified child IUIContentContainer by using the size of the parent container.

PreferredContentSizeDidChangeForChildContentContainer(IUIContentContainer)

Notifies this controller that the preferred size for content for a specified child container has changed.

SystemLayoutFittingSizeDidChangeForChildContentContainer(IUIContentContainer)

Notifies this container that auto layout resized a specified child container.

ViewWillTransitionToSize(CGSize, IUIViewControllerTransitionCoordinator)
WillTransitionToTraitCollection(UITraitCollection, IUIViewControllerTransitionCoordinator)

Notifies this that its trait collection will change to traitCollection, as coordinated by coordinator.

Applies to