New to Telerik UI for Xamarin? Download free 30-day trial

Event raised when selected tokens are removed through clear button in AutoCompleteView


Product Version 2018.3.1109.1
Product AutoCompleteView for Xamarin


This article shows which event you could handle when the end user removes any of the selected in RadAutoCompleteView tokens by tapping on the clear button.


You would need to subscribe to the CollectionChanged event of the Tokens collection of the AutoCompleteView control. Here is a quick snippet which demonstrates the approach:

autoCompleteView.Tokens.CollectionChanged += TokensCollectionChanged;

and the TokensCollectionChanged event handler:

private void TokensCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
    var removedTokens = e.OldItems;        

Through the NotifyCollectionChangedEventArgs you could find the added/removed items from the collection.

In this article