共用方式為


NSLayoutManagerDelegate.DidChangeGeometry 方法

定義

textContainer 幾何已從 oldSize 變更,且 layoutManager 會使版面配置失效。

[Foundation.Export("layoutManager:textContainer:didChangeGeometryFromSize:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidChangeGeometry (UIKit.NSLayoutManager layoutManager, UIKit.NSTextContainer textContainer, CoreGraphics.CGSize oldSize);
abstract member DidChangeGeometry : UIKit.NSLayoutManager * UIKit.NSTextContainer * CoreGraphics.CGSize -> unit
override this.DidChangeGeometry : UIKit.NSLayoutManager * UIKit.NSTextContainer * CoreGraphics.CGSize -> unit

參數

layoutManager
NSLayoutManager
textContainer
NSTextContainer
oldSize
CGSize
屬性

適用於