Autoresize textbox control vertically
- by andrew
In a C# form, i have a panel anchored all sides, and inside, a textbox, anchored top/left/right.
When text gets loaded into the textbox, i want it to auto expand itself vertically so that i don't need to scroll the textbox (scroll the panel at most, if there is more text that doesn't fit the panel).
is there any way to do this with a textbox? (i'm…