How to add custom source to AutoComplete control?
The following code snippet is used to add a custom source to the 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;
}
}
}