SfAutoComplete controls provide a support to bind with different data source such as IList Data Source, Observable Collection.
To add 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 view model class to bind the collection of viewmodel class on the datasource of AutoCompelete.
Step 4: By changing DisplayMemberPath and SelectedValuePath we can achieve the data source.
The below code illustrates the way to achieve this.
The following screenshot shows the output of data source with its SelectedIndex.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.