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. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The WinForms Autocomplete component allows users to enable autocompletion functionality for any edit control. Multiple columns with a header in the autocomplete pop-up provide information for each matching entry. Its rich, built-in feature set includes different autocompletion modes such as suggest and append, appearance customization, and more.


Auto Append

The autocomplete control auto appends the top most item in the list to the text box.

autocomplete control


Data Source

An external datasource can be specified to be used as the history list.


WinForms AutoComplete Code Example

Easily get started with the WinForms AutoComplete using a few simple lines of C# code example as demonstrated below. Also explore our WinForms AutoComplete Example that shows you how to render and configure the WinForms AutoComplete.

using Syncfusion.Windows.Forms.Tools;
using System.Data;
namespace WinFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            AutoComplete autoComplete = new AutoComplete();
            TextBox textBox = new TextBox();
            autoComplete.SetAutoComplete(textBox, Syncfusion.Windows.Forms.Tools.AutoCompleteModes.MultiSuggestExtended);
            autoComplete.ParentForm = this;
            DataTable dataTable = new DataTable("Table1");
            dataTable.Columns.Add("Famous place");
            dataTable.Columns.Add("Country");
            dataTable.Columns.Add("City");            
            dataTable.Rows.Add(new string[] { "Big Ben", "United Kingdom ", "London" });
            dataTable.Rows.Add(new string[] { "The white House", "USA", "Washington, D.C." });
            dataTable.Rows.Add(new string[] { "Rio de Janeiro", "Brazil", "Brasilia" });
            dataTable.Rows.Add(new string[] { "Eiffel Tower", "France", "Paris" });
            dataTable.Rows.Add(new string[] { "Moscow Kremlin", "Russia", "Moscow" });
            dataTable.Rows.Add(new string[] { "Taj Mahal", "India", "Delhi" });
            autoComplete.DataSource = dataTable;
            autoComplete.ShowColumnHeader = true;                                    
            this.Controls.Add(textBox);
        }
    }
}



95+ WINDOWS FORMS CONTROLS

Frequently Asked Questions

The Syncfusion WinForms AutoComplete provides the following:

  • Embed any edit control to provide autocomplete function as you type in an editor.
  • Display information for each matching entry in multiple columns with a header in the autocomplete pop-up.
  • Its rich built-in feature set includes autocomplete modes such as suggest and append, and also appearance customization.
  • One of the best WinForms AutoComplete components in the market that offers a feature-rich UI.
  • Touch-friendly and responsive UI.
  • Simple configuration and API.
  • Extensive demos and documentation to learn quickly and get started with WinForms AutoComplete.

You can find our WinForms Autocomplete demo on

GitHub location.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Syncfusion Windows Forms Resources

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon