Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4165
Show control in PopupControlContainerTool on toolbar
posted

Hello,

We am trying to implement a search mechanism in WinForms that behaves like an Outlook Search bar.

In a default state it acts like a combo editor, but when you hit the drop down you get a custom User Control

Default State

Drop Down State

I was thinking to use a PopupControlContainerTool with a windows TextBox as a control and when it pops open replace with a custom user control that looks like the above. 

So when the form loads, we create a textbox and add it to the popup container tool (like the code on your tutorial). However it does not show in the textbox in the toolbar menu, just the drop down button. Maybe this is the wrong tool to use but I can't figure out another way to accomplish our desired outcome.

Thanks for you help.

M.