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
320
ScrollToVerticalOffset not working
posted

When calling ScrollInfo.ScrollToVerticalOffset(), it always scrolls to grid's end, no matter what offset is passed in parameter.

 

During debug, I checked property values of the ScrollInfo object, and I saw that ExtentHeight is 89.

This is weird, since the real, actual height is about 1000.

 

What's wrong? And how can I reliably scroll to certain offset?

 

Regards,

Yaakov

Parents
No Data
Reply
  • 69686
    posted

    Hello Yaakov,

     

    I just tested this using the following code:

     

    xamDataGrid1.ScrollInfo.SetVerticalOffset(xamDataGrid1.ScrollInfo.VerticalOffset + 100);

     

    This will scroll the XamDataGrid 100 records down every times it executes. If this is no the behavior on your end, please give us the exact dll versions that you are using and more information on your setup/environment

Children