5
Answers

How to auto scroll to the bottom of a multiline TextBox in C# ?

Esha Rithik

Esha Rithik

12y
9.8k
1
  private void textBox1_TextChanged(object sender, EventArgs e)
        {
            textBox1.SelectionStart = textBox1.Text.Length;
            textBox1.ScrollToCaret();
            textBox1.Refresh();        
          
        }

I prepared this code it's not working

Answers (5)