How to scroll to the end of a Textbox in C# and VB.NET

To scroll to the end of a Textbox in C# and VB.NET you can use the following snippet.

Sample C# / VB.NET

textBox1.SelectionStart = textBox1.Text.Length;
textBox1.ScrollToCaret();

Please Share us:
Please rate this snippet

One thought on “How to scroll to the end of a Textbox in C# and VB.NET

Leave a Reply