windows 8 - WinRT c# - Text Block scroll auto to the end -
i scroll auto end of textblock if add text it. try lot of thing, failed hard.
anybody has idea on winrt application ?
thanks time, regards.
- step 1 - winrt xaml toolkit nuget
step 2 - add following
using
codeusing winrtxamltoolkit.controls.extensions;
step 3 - make following call after add (replace really)
text
intextbox
var scrollviewer = textblock.getfirstdescendantoftype<scrollviewer>(); scrollviewer.scrolltoverticaloffset(scrollviewer.scrollableheight);
Comments
Post a Comment