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
Thanks for your reply.
Please read my 2nd post above.
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
Found the problem.
The verticalOffset here is logical; scrolling to 105, will scroll to record 105 rather than pixel 105.