How to create a new control: SearchBox. #5889
-
Hi, I'd like to overload the combobox control to use it as a searchbox. Basically, it would just be a TextBox with a popup menu that can be filled by a custom function/list binding to send back to the user something that could match what they are typing. The SearchBox could be filled with any input the user types like a TextBox and the search hints should not be mandatory, the user is free to use the results or not. In the ComboBox, the user need to pick a result. I got some kind of working SearchBox, its a TextBox + Popup menu that I open when the user types something but I have issue making the popup "follow" the TextBox. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
There is AutoCompleteBox already |
Beta Was this translation helpful? Give feedback.
-
Ok thanks, right now I don't understand how it works. I was triggering a search on text change and filling the popup asynchronously, seems different in the AutoCompleteBox. When typing in it, the Text property isn't notified in my code. |
Beta Was this translation helpful? Give feedback.
-
AutoCompleteBox seems to bug like mine ;) |
Beta Was this translation helpful? Give feedback.
There is AutoCompleteBox already