Condividi tramite


UITextViewDelegate_Extensions.ShouldChangeText Method

Definition

Overloads

ShouldChangeText(IUITextViewDelegate, UITextView, NSValue[], String)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool ShouldChangeText(this UIKit.IUITextViewDelegate This, UIKit.UITextView textView, Foundation.NSValue[] ranges, string replacementText);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ShouldChangeText : UIKit.IUITextViewDelegate * UIKit.UITextView * Foundation.NSValue[] * string -> bool

Parameters

textView
UITextView
ranges
NSValue[]
replacementText
String

Returns

Attributes

Applies to

ShouldChangeText(IUITextViewDelegate, UITextView, NSRange, String)

Whether the specified text should be replaced in the UITextView.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool ShouldChangeText(this UIKit.IUITextViewDelegate This, UIKit.UITextView textView, Foundation.NSRange range, string text);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ShouldChangeText : UIKit.IUITextViewDelegate * UIKit.UITextView * Foundation.NSRange * string -> bool

Parameters

textView
UITextView
range
NSRange
text
String

Returns

Attributes

Applies to