Search code examples
c#textboxtoolstripinherited

Add inherited TextBox to ToolStrip


It seems like it's not possible for some reason but it worth a try: Is it possible to add inherited TextBox to a ToolStrip?

Thank you.


Solution

  • If you want a custom textbox, you will need to have your textbox inherit from ToolStripTextBox instead of just TextBox. Then you can add it from code or the designer.

    Custom Toolstrip textbox