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
2815
ScrollBehaviorOnListChange.PreserveScrollOffset clarification needed
posted

What exactly is Scroll Offset and how is this computed?

Assume XamDataGrid.ScrollBehaviorOnListChange =  ScrollBehaviorOnListChange.PreserveScrollOffset

 

If I scrolled to the first record in my grid (topmost record) and the underlying collection is completely refreshed (items cleared and a new set with more records re-added) should the grid not scroll to the top most record to maintain scroll offset? 

Also, should this behavior be consistent regardless of the net effect of the underlying changes:  In otherwords should I observe something differet when I Clear and AddRange as apposed to simply appending to the collection via AddRange?

TIA.

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

Children