Share via


NSLayoutManager.InvalidateLayout Method

Definition

Overloads

Name Description
InvalidateLayout(NSRange)
InvalidateLayout(NSRange, NSRange)

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

InvalidateLayout(NSRange, IntPtr)

InvalidateLayout(NSRange)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public void InvalidateLayout(Foundation.NSRange characterRange);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.InvalidateLayout : Foundation.NSRange -> unit

Parameters

characterRange
NSRange
Attributes

Applies to

InvalidateLayout(NSRange, NSRange)

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

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public void InvalidateLayout(Foundation.NSRange characterRange, out Foundation.NSRange actualCharacterRange);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.InvalidateLayout : Foundation.NSRange * NSRange -> unit

Parameters

characterRange
NSRange
actualCharacterRange
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

InvalidateLayout(NSRange, IntPtr)

[Foundation.Export("invalidateLayoutForCharacterRange:actualCharacterRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual void InvalidateLayout(Foundation.NSRange characterRange, IntPtr actualCharacterRange);
[<Foundation.Export("invalidateLayoutForCharacterRange:actualCharacterRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member InvalidateLayout : Foundation.NSRange * nativeint -> unit
override this.InvalidateLayout : Foundation.NSRange * nativeint -> unit

Parameters

characterRange
NSRange
actualCharacterRange
IntPtr

nativeint

Attributes

Applies to