This seems like such a simple thing but I just can\'t get it to work.
I have a single line text box that has a lot of text. What I want to happen is that whenever t
You should be able to do it using these members:
EDIT: not sure why ScrollToEnd isn't working... Anyway, this code works:
textBox.CaretIndex = textBox.Text.Length;
var rect = textBox.GetRectFromCharacterIndex(textBox.CaretIndex);
textBox.ScrollToHorizontalOffset(rect.Right);