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

listBox1.SelectedIndex = listBox1.Items.Count - 1;
listBox1.SelectedIndex = -1;

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