Is this page helpful?
Resizes the text object to adjust it to fit the boundary of the enclosing text.
public bool AutoSizeAfterEdit { get; set; }
true to resize the text object to adjust it to fit the boundary of the enclosing text; otherwise, false. The default value is false.
If the value of AutoSizeAfterEdit is false (the default value) and the user changes the text in the control using automation, the boundary of the object does not change.
If the value of AutoSizeAfterEdit is set to true: