Sdílet prostřednictvím


UIViewController.GetSizeForChildContentContainer Method

Definition

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

[Foundation.Export("sizeForChildContentContainer:withParentContainerSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGSize GetSizeForChildContentContainer(UIKit.IUIContentContainer contentContainer, CoreGraphics.CGSize parentContainerSize);
[<Foundation.Export("sizeForChildContentContainer:withParentContainerSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSizeForChildContentContainer : UIKit.IUIContentContainer * CoreGraphics.CGSize -> CoreGraphics.CGSize
override this.GetSizeForChildContentContainer : UIKit.IUIContentContainer * CoreGraphics.CGSize -> CoreGraphics.CGSize

Parameters

contentContainer
IUIContentContainer

The child container whose size is being request.

parentContainerSize
CGSize

The of the .

Returns

The CGSize of the content of the contentContainer.

Implements

Attributes

Applies to