I'm trying to implement a UserControl
which would act as an autocompleting TextBox
. What would be the best way to show a ListBox
of available choices below the TextBox
? It is imperative that the ListBox does not reserve space for itself: it should be positioned over other controls. Is it possible to place something contained within the UserControl
outside the UserControl's
frame?
I have tried Popup
but one problem with that is that popup doesn't move with the parent so if the parent window is moved, popup is left where it first appeared. There are ways to circumvent to in code behind but if there were a simpler solution, that would obviously be better.