NSLayoutManager.EnsureLayoutForTextContainer(NSTextContainer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.