I am trying to show a long document (a terms and conditions statement) on a readonly XamRichTextEditor. It is going to be on a Kiosk application so without mouse and keyboard. I want the user to be able to swipe down the screen on the XamRichTextEditor control which will scroll the XamRichTextEditor down. So if the user swiped quickly down it would scroll the XamRichTextEditor control down. Similarly to how you operate a mobile device when scrolling quickly down the screen. As it's difficult to operate the scrollbar on a touchscreen and I want the user to be able to quickly peruse/move through the document.
Not sure if I should use a different control rather than the XamRichTextEditor ?
Thanks.Dave
Hello,
I have been looking into your question and from the provided description I assumed that you require the scroll behavior to be similar to the mobile devices. I prepared a small sample using XamRichTextEditor where I'm handling the TouchMove event and depending on the touch position I'm changing the scroll value.
Please test the attached sample on your side and let me know if I may be of any further assistance. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me along with steps to reproduce. Alternatively, if the behavior cannot be replicated please feel free to provide your own sample. Remove any external dependencies and code that is not directly related to the issue, zip your application and attach it in this case.
Having a working sample on my side, which I can debug, is going to be very helpful in finding the root cause of this behavior.
Thank you for your cooperation.
Looking forward to hearing from you.
Sincerely,
Teodosia Hristodorova
Associate Software Developer
5672.XRTE_scroll_on_touch.zip
Thank you Teodosia, is there anyway to prevent the text being selected as you swipe? Also is there anyway for it to scroll quicker depending on how quickly you swipe?
Many thanks.Dave