If you host a ComboBox in a ToolStrip, setting DropDownStyle to
DropDown or DropDownList displays the dropdown without affecting the
height of the toolbar. I want to emulate that behavior for a custom
user control that will consist of a TextBox and a "suggestion " ListBox
that appears beneath the TextBox as the user types in the TextBox.
Currently, I'm finding that the ToolStrip height dynamically increases
when my ListBox appears (similar to the behavior you'll see if you
change a ComboBox's DropDownStyle to Simple in a ToolStrip).
Would appreciate advice on how this can be achieved.
DropDown or DropDownList displays the dropdown without affecting the
height of the toolbar. I want to emulate that behavior for a custom
user control that will consist of a TextBox and a "suggestion " ListBox
that appears beneath the TextBox as the user types in the TextBox.
Currently, I'm finding that the ToolStrip height dynamically increases
when my ListBox appears (similar to the behavior you'll see if you
change a ComboBox's DropDownStyle to Simple in a ToolStrip).
Would appreciate advice on how this can be achieved.