Autocompletecontrol doesent work properly in Usercontrol

Nov 24, 2011 at 9:50 AM


I´ve just stumbled upon the WPF toolkit Autocompletetextbox which seems great. I have a problem with it though. In my WPF application i use a Window as a container for various usercontrols. So when a user clicks a button, this usercontrol is hosted in this "ContainerWindow". This works fine, but when I put the WPF toolkit Autocompletetextbox in my usercontrol, the dropdownlist with suggestions isnt well-formatted, it is not as long as it should be, and there is no margin on the text results.

This image illustrates the problem:

Do you have any idea how I could workaround this problem?

Thanks alot for your help :)

Kind regards,