Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 995 Bytes

File metadata and controls

36 lines (22 loc) · 995 Bytes
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

How to Programmatically Display AutoComplete Popup for Textbox?

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

AutoComplete popup programmatically