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