Increasing TextBox Height without Increasing Font Size

c#, controls, fonts, textbox, winforms

Solution

you can do this in designer file

this.textBox1.AutoSize = false;
this.textBox1.Size = new System.Drawing.Size(100, 20);

MSDN > TextBoxBase.AutoSize Property

Problem

I have a UserControl in my Application and a TextBox is fitted on it with property Docking.Fill I have a situation where I dynamically grow the windows/Forms size ,in that case all my controls get re-sized as per the new ratio, but my text box's height doesn't change. Solution 1: I have to set the Font Size to increase height , but the issue is, It re-sizes all the controls which are used in my application, also some text in controls overlaps. I want other way that without affecting the Font Size, i can grow my TextBox in Height without using Multiline = True. It would be great if any body help,

Original source