NSLayoutManager.EnsureLayoutForBoundingRect(CGRect, NSTextContainer) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
强制布局管理器在 中执行布局。
[Foundation.Export("ensureLayoutForBoundingRect:inTextContainer:")]
public virtual void EnsureLayoutForBoundingRect (CoreGraphics.CGRect bounds, UIKit.NSTextContainer container);
abstract member EnsureLayoutForBoundingRect : CoreGraphics.CGRect * UIKit.NSTextContainer -> unit
override this.EnsureLayoutForBoundingRect : CoreGraphics.CGRect * UIKit.NSTextContainer -> unit
参数
- bounds
- CGRect
- container
- NSTextContainer
- 属性
注解
布局管理器可能会布局大于 的区域。