| layout | post |
|---|---|
| title | Display AutoComplete Popup Programmatically | WinForms | Syncfusion |
| description | How to display the AutoComplete popup programmatically, when a textbox is enabled with AutoComplete feature |
| platform | windowsforms |
| control | Tools |
| documentation | ug |
AutoComplete popup can be displayed programmatically.
The following code demonstrates the same.
{% tabs %}
{% highlight C# %}
this.autoComplete1.AutoCompletePopup.ParentControl = this.textBox1;
this.autoComplete1.AutoCompletePopup.ShowPopup(Point.Empty);
{% endhighlight %}
{% highlight VB %}
Me.autoComplete1.AutoCompletePopup.ParentControl = Me.textBox1
Me.autoComplete1.AutoCompletePopup.ShowPopup(Point.Empty)
{% endhighlight %}
{% endtabs %}
