1
我想让Textbox
在文本更新时自动滚动到底部,但似乎在Silverlight中没有这样的方法。在Windows窗体,我会做这种方式:(C#)Silverlight TextBox滚动到底部
textbox_txt.SelectionStart = textbox_txt.Text.Length;
textbox_txt.ScrollToCaret();
Windows Presentation Foundation中,我会做这种方式:
textbox_txt.SelectionStart = textbox_txt.Text.Length;
textbox_txt.ScrollToEnd();
现在如何赫克我这样做在Silverlight?在任何地方都没有这种滚动方法。
当我尝试此操作时,通过滚动到底部上方的整行来激怒我。 – Stefan 2011-07-10 00:41:40