Autocomplete TextBox in Windows Form Application

In this blog we learn how to create autocomplete TextBox.

Step 1:

Now open visual Studio -> File -> New -> Project -> Windows From Application -> Ok

Drag and Drop label and TextBox.

Label and TextBox

Step 2:

Now click on TextBox and go to its properties window.

properties window

Now Select AutoCompletecustomeSource. Click on it.


Now insert the Some Values
insert the Some Values

Click on AutocompleteMode and select SuggestApend.

Now Select AutocompleteSource -> CustomeSource


Enter name in TextBox eg: Enter h it will autocompelete and append list. You can select here specific name.

autocompelete and append list