NSLayoutManager.InvalidateLayout Method

Definition

Overloads

InvalidateLayout(NSRange)
InvalidateLayout(NSRange, NSRange)

Invalidates the layout for the specified character range. Does not automatically trigger re-layout.

InvalidateLayout(NSRange)

public void InvalidateLayout (Foundation.NSRange characterRange);
member this.InvalidateLayout : Foundation.NSRange -> unit

Parameters

characterRange
NSRange

Applies to

InvalidateLayout(NSRange, NSRange)

Invalidates the layout for the specified character range. Does not automatically trigger re-layout.

[Foundation.Export("invalidateLayoutForCharacterRange:actualCharacterRange:")]
public virtual void InvalidateLayout (Foundation.NSRange charRange, out Foundation.NSRange actualCharRange);
abstract member InvalidateLayout : Foundation.NSRange *  -> unit
override this.InvalidateLayout : Foundation.NSRange *  -> unit

Parameters

charRange
NSRange
actualCharRange
NSRange

If not null, on output holds the actual range invalidated.

Attributes

Remarks

This method does not trigger either glyph generation or layout. Application developers will not normally need to call this method.

Applies to