RadAutoCompleteTextView: Completion modes

RadAutoCompleteTextView has two modes for filtering suggestions.

The completion mode can be changed with the completionMode property of the RadAutoCompleteTextView. The default value is StartsWith.

<au:RadAutoCompleteTextView completionMode="Contains"/>

StartsWith Mode

In StartsWith mode the autocomplete shows only suggestions that start with the typed phrase.

Contains Mode

In Contains mode the autocomplete shows only suggestions that contain the typed phrase.
Contains mode is not intended to work with the Append and SuggestAppend modes.
Since both these modes append the rest of the suggestion to the typed text, the combination between them and Contains won't be helpfull but rather confusing.


Want to see more examples using RadAutoCompleteTextView?
Check our SDK repo on Github.

Related articles you mind find useful: