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.
The autocomplete control auto appends the top most item in the list to the text box.
An external datasource can be specified to be used as the history list.
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);
}
}
}
The Syncfusion WinForms AutoComplete provides the following:
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.
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.