Hi guys,
I use the RadGridView marginally, with a dynamic resizing of the cells height (with ctrl + mouse wheel), like this :
http://image.noelshack.com/fichiers/2015/47/1447859201-5988-noelpush.png
And I would like to get in my ViewModel the index of the row on the top and bottom of the view (Tstamp 23.285 (top) and 27.569 on my screenshot for the situation from the left).
I tried to use the ScrollPositionIndicatorTemplate but I would like a real time mode (if possible), I don't know how I can send the value to my ViewModel, and it is not very accurate anyway...
And I tried to use the ScrollChanged event (with a ScrollChangedEventArg parameter) sends wrong values. I can't use the VerticalOffset received, because it doesn't corresponds to the reality. I'm forced to go top of the RadGridView and scroll slowly all my GridView if I want receive a correct VerticalOffset (this technique updates virtualized values visibly). Can we refresh manually the "scroll values" after a modification of the height of the cells ?
Or is there a function that directly gives me these rows ?
I hope to have correctly explained the problem. Thanks for your help!
Regards.