Skip to content

Instantly share code, notes, and snippets.

@ScottLilly
Created July 6, 2014 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ScottLilly/21997dc89b21c629c449 to your computer and use it in GitHub Desktop.
Save ScottLilly/21997dc89b21c629c449 to your computer and use it in GitHub Desktop.
Lesson 19.1 - Scroll to the bottom of a rich text box
private void ScrollToBottomOfMessages()
{
rtbMessages.SelectionStart = rtbMessages.Text.Length;
rtbMessages.ScrollToCaret();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment