Share via


NSTextView.ShouldChangeText Method

Definition

Overloads

ShouldChangeText(NSArray, String[])

[Foundation.Export("shouldChangeTextInRanges:replacementStrings:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldChangeText(Foundation.NSArray affectedRanges, string[] replacementStrings);
[Foundation.Export("shouldChangeTextInRanges:replacementStrings:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldChangeText(Foundation.NSArray affectedRanges, string[]? replacementStrings);
[<Foundation.Export("shouldChangeTextInRanges:replacementStrings:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldChangeText : Foundation.NSArray * string[] -> bool
override this.ShouldChangeText : Foundation.NSArray * string[] -> bool

Parameters

affectedRanges
NSArray
replacementStrings
String[]

Returns

Attributes

Applies to

ShouldChangeText(NSRange, String)

[Foundation.Export("shouldChangeTextInRange:replacementString:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldChangeText(Foundation.NSRange affectedCharRange, string replacementString);
[Foundation.Export("shouldChangeTextInRange:replacementString:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldChangeText(Foundation.NSRange affectedCharRange, string? replacementString);
[<Foundation.Export("shouldChangeTextInRange:replacementString:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldChangeText : Foundation.NSRange * string -> bool
override this.ShouldChangeText : Foundation.NSRange * string -> bool

Parameters

affectedCharRange
NSRange
replacementString
String

Returns

Attributes

Applies to