Category / Section
How to add custom source to AutoComplete control?
1 min read
The following code snippet is used to add custom source to AutoComplete control,
C#
using Syncfusion.Windows.Tools.Controls; namespace AutoComplete { /// /// Interaction logic for MainWindow.xaml /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent();List customSource = new List();customSource.Add("Components");customSource.Add("User Control");customSource.Add("Book Mark");customSource.Add("Data Control"); this.autocomplete.CustomSource = customSource;}}}