I have a multiline textbox and i want textbox to scroll down automatically whenever i add a new line. How to do it?
You can use the following code snippet:
myTextBox.SelectionStart = myTextBox.Text.Length;
myTextBox.ScrollToCaret();
which will automatically scroll to the end.