Esha Rithik

Esha Rithik

  • NA
  • 7
  • 26.1k

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

May 4 2012 1:11 AM
  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)