WPF how to see last added text line in TexBox
Posted
by Janus
on Stack Overflow
See other posts from Stack Overflow
or by Janus
Published on 2010-05-10T12:14:35Z
Indexed on
2010/05/10
12:34 UTC
Read the original article
Hit count: 320
wpf-controls
I would like simmulate Console text output in my WPF app but when I add new lines in TextBox I should use scroll bar to see last added text but I want to see last added text but for firsts lines use scroll bar
<TextBox TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Auto"
Text="{Binding Path=Data, Mode=TwoWay}" />`
© Stack Overflow or respective owner