UIKit.NSLayoutManager.AllowsNonContiguousLayout Property
Whether layout can be done for a portion of the document without laying-out being recalculated from the beginning.

Syntax

[get: Foundation.Export("allowsNonContiguousLayout")]
[set: Foundation.Export("setAllowsNonContiguousLayout:")]
public virtual bool AllowsNonContiguousLayout { get; set; }

See Also

NSLayoutManager.HasNonContiguousLayout
NSLayoutManager.EnsureGlyphsForCharacterRange
NSLayoutManager.EnsureGlyphsForGlyphRange
NSLayoutManager.EnsureLayoutForCharacterRange
NSLayoutManager.EnsureLayoutForGlyphRange
NSLayoutManager.EnsureLayoutForTextContainer
NSLayoutManager.EnsureLayoutForBoundingRect

Value

The default value is false.

Remarks

Setting this value to true allows the UIKit.NSLayoutManager to perform noncontiguous layout. In large documents, this can significantly increase performance, since the layout does not need to performed from the beginning of the document.

Application developers can use the EnsureLayout... methods with noncontiguous methods to confirm that particular portions of the text are being laid out properly.

The UITextView.LayoutManager is instantiated with its NSLayoutManager.AllowsNonContiguousLayout property set to true.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0