Reputation: 4617
I want to get a Textbox
to autoscroll to bottom whenever it gets updated with text, but it seems that there is no such method in Silverlight. In Windows Forms, I would do it this way:
textbox_txt.SelectionStart = textbox_txt.Text.Length;
textbox_txt.ScrollToCaret();
In Windows Presentation Foundation, I would do it this way:
textbox_txt.SelectionStart = textbox_txt.Text.Length;
textbox_txt.ScrollToEnd();
Now how the heck do I do this in Silverlight? there is no such scroll method anywhere.
Upvotes: 1
Views: 1821