UIKit.UITextView.ShouldChangeTextInRange Method
Called prior to an edit. Can be overridden to selectively filter edits.

Syntax

[Foundation.Export("shouldChangeTextInRange:replacementText:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
public virtual bool ShouldChangeTextInRange (UITextRange inRange, string replacementText)

Parameters

inRange
Specifies a range of text.
replacementText
Replacement text.

Returns

The default value is true.

Remarks

This method is called prior to a replacement being made in the text. Application developers can override this method and, if they return false, the replacement will not be made.

Requirements

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