Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
xamRichTextEditor ScrollDown
posted

Hello!

I am using xamRichTextEditor for a TextChat with avatars. I cannot figure out how scroll down after TextInput.

Second thing: Is possible to detect if user is scrolling up to first line? (trying implement history load like in Skype, when we  scorlling up older and older history is loading)

Please for assistance.

Parents
No Data
Reply
  • 260
    posted

    First part I mostly manage with code:

    internal void ScrollDown()
    {
       const RichTextEditorCommandType type 
    RichTextEditorCommandType.MoveToEndOfDocument;    var cmd = new RichTextEditorCommand(type);   cmd.Execute(RichTextBox); }
    but it's not perfect solution. Text its scrolling only to top of last
    paragraph


    but not at bottom

    
    

    There left 1 mouse scroll down of space. Any idea how to fix it?

Children