Click here to Skip to main content
14,428,476 members
Rate this:
Please Sign up or sign in to vote.
See more:
How to use AutoComplete property in TextBox (System.Windows.Controls) control as like TextBox (System.Windows.Forms) Control of Windows application in C# ?
Posted
Rate this:
Please Sign up or sign in to vote.

Solution 1

The question is re-posted.
I have already provided the solution to your question.

-KR
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

try this type of
<!--AutoCompleteTextbox.xaml file -->  
<canvas x:class="WPFAutoCompleteTextbox.AutoCompleteTextBox" xmlns:x="#unknown">
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"  
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="300" Width="300">  
</canvas>  
  
  
  
<!-- Window1.xaml file -->  
<window x:class="WPFAutoCompleteTextbox.Window1" xmlns:x="#unknown">
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"  
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
    xmlns:local="clr-namespace:WPFAutoCompleteTextbox"          
    Title="WPF AutoCompleteTextBox" Height="200" Width="300">  
    <stackpanel background="SteelBlue">  
        <button name="button1" height="23" width="75" margin="20" click="button1_Click" horizontalalignment="Left">Clear</button>  
        <local:autocompletetextbox height="23" width="240" x:name="textBox1" delaytime="500" threshold="2" xmlns:local="#unknown" />  
    </stackpanel>  
</window>


or can hit this link for more information and a complete information just try this.
http://code.msdn.microsoft.com/windowsdesktop/WPF-Autocomplete-Textbox-df2f1791
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100