Articles in this section

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;
        }
    }
}

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied