We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to add the SfAutocomplete control at runtime

Platform: Xamarin.Forms |
Control: SfAutoComplete |
Published Date: March 27, 2017 |
Last Revised Date: April 10, 2017

SfAutoComplete controls provide a support to bind with different data source dynamically. We can add the data source during run time also.


To add Dynamic Data source in Autocomplete follow the below given procedure:

Step 1: Create the autocomplete sample with all necessary assemblies.


Step 2: Create an Observable collection where we have to store the data into it. Also create an instance of Observable collection. Set the instance of Observable collection to Autocomplete Data Source.

Step 3: Create a Button for adding new set of data. In which add new collection of data.


The below code illustrates the way to achieve this.






Image before the data source added dynamically:






Image to “ADD DATA” to the data source:








Image after Data Source get added:




You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon