Language

ITextWatcherExtensions.BeforeTextChanged Method

Definition

Reports a pending replacement to a text watcher.

public static void BeforeTextChanged(this Android.Text.ITextWatcher self, string? s, int start, int count, int after);
static member BeforeTextChanged : Android.Text.ITextWatcher * string * int * int * int -> unit

Parameters

self
ITextWatcher

The text watcher to notify.

s
String

The text before the replacement.

start
Int32

The first character offset in the range that will be replaced.

count
Int32

The number of old characters that will be replaced.

after
Int32

The number of replacement characters.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to