Edytuj

Udostępnij za pośrednictwem


UIPresentationController.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.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGSize GetSizeForChildContentContainer (UIKit.IUIContentContainer contentContainer, CoreGraphics.CGSize parentContainerSize);
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 SizeF of the contentContainer.

Returns

The SizeF of the content of the contentContainer.

Implements

Attributes

Applies to