I am trying to give more details. I basically want my textbox to adjust
height and width as the user types or changes font styles.. more close to
how it is implemented in power point
Also setting the property to Autosize why does not that work?
You cannot make textbox do this automatically. Instead subscribe an event to
TextChanged event and use Graphics.MeasureString() to determine the best
dimensions for the textbox.