Partager via


UIViewController.GetSizeForChildContentContainer Méthode

Définition

Obtient la taille du contenu de l’enfant IUIContentContainer spécifié à l’aide de la taille du conteneur parent.

[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

Paramètres

contentContainer
IUIContentContainer

Conteneur enfant dont la taille est demandée.

parentContainerSize
CGSize

SizeF du contentContainer.

Retours

SizeF du contenu de .contentContainer

Implémente

Attributs

S’applique à