Language

InputFilterAllCaps.Filter Method

Definition

Filters a replacement by converting lowercase and titlecase letters to uppercase.

public string? Filter(string? source, int start, int end, Android.Text.ISpanned? dest, int dstart, int dend);
member this.Filter : string * int * int * Android.Text.ISpanned * int * int -> string

Parameters

source
String

The string that contains the proposed replacement.

start
Int32

The first source character index in the proposed replacement.

end
Int32

The exclusive end index of the proposed source range.

dest
ISpanned

The current text in the destination buffer.

dstart
Int32

The first destination character offset being replaced.

dend
Int32

The exclusive end offset of the replaced destination range.

Returns

The uppercased replacement, or null when the original replacement is accepted unchanged.

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