How do I create an Autoscrolling TextBox

前端 未结 6 1357
囚心锁ツ
囚心锁ツ 2021-01-31 04:02

I have a WPF application that contains a multiline TextBox that is being used to display debugging text output.

How can I set the TextBox so that as text is appended to

6条回答
  •  梦谈多话
    2021-01-31 04:47

    A more portable way might be to use an attached property such as in this similar question for listbox.

    (Just set VerticalOffset when the Text property changes)

提交回复
热议问题