2

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?

Dagagrid with a space after the last row

and here no problem if we are not at the last row

enter image description here

UPD1 According to why setting ScrollViewer.CanContentScroll to false disable virtualization suppose it cannot be solved without losing performance.

Community
  • 1
  • 1
Artiom
  • 7,694
  • 3
  • 38
  • 45

0 Answers0