I am creating a wrapper for Datagrid. Main point is to have possibility to set summary/footer rows at the end.
Generally I've solved this task, but I have a space between the last row and the datagrid's footer (only if I have more rows than can be displayed without scrolling). Of course I can set
ScrollViewer.CanContentScroll="False"
but it will cause performance problems. Is it possible to configure datagrid to scroll smoothly to the last row?
and here no problem if we are not at the last row
UPD1 According to why setting ScrollViewer.CanContentScroll to false disable virtualization suppose it cannot be solved without losing performance.