AutoCompleteBox not found in wpf toolkit using visual studio 2012 AutoCompleteBox not found in wpf toolkit using visual studio 2012 wpf wpf

AutoCompleteBox not found in wpf toolkit using visual studio 2012


Not all the toolkit controls are included in the "main" namepace.

Let me explain it how are the toolkit dlls are built up:

You can also install the WPF toolkit through NuGet:

PM> Install-Package WPFToolkit

It will add three dlls to your project:

  • WPFToolkit.dll this contains the core/stable controls of toolkit which can be found in the xmlns:toolkit="http://schemas.microsoft.com/wpf/2008/toolkit"

  • System.Windows.Controls.Input.Toolkit.dll this dll contains the preview controls like AutoCompleteBox and Rating

  • System.Windows.Controls.Layout.Toolkit.dll this dll contains the preview layout controls like the Accordion

The preview controlls are not included in the main xmls namespace so you need to use a the namespace form the corresponding preview dll:

xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"<controls:AutoCompleteBox />


Add a reference to (Included in WPFToolkit): System.Windows.Controls.Input.Toolkit.dlland then in your xaml at the top:

xmlns:System_Windows_Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"

and for using it anywhere in your code just like this:

<System_Windows_Controls:AutoCompleteBox />