Edytuj

Udostępnij za pośrednictwem


NSLayoutManager.EnsureLayoutForTextContainer(NSTextContainer) Method

Definition

Forces the NSLayoutManager to layout the specified NSTextContainer, if it has not already done so.

[Foundation.Export("ensureLayoutForTextContainer:")]
public virtual void EnsureLayoutForTextContainer (UIKit.NSTextContainer container);
abstract member EnsureLayoutForTextContainer : UIKit.NSTextContainer -> unit
override this.EnsureLayoutForTextContainer : UIKit.NSTextContainer -> unit

Parameters

container
NSTextContainer
Attributes

Remarks

The NSLayoutManager may layout more than the specified container. If P:UIKit.NSLayoutManager.AllowsNonContinguousLayout is false, the range will always extend to the beginning of the text.

Applies to