WPF toolkit DataGrid - space after the last row on Scrolling

╄→гoц情女王★ 提交于 2019-12-13 16:08:31

问题


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.

来源:https://stackoverflow.com/questions/11870274/wpf-toolkit-datagrid-space-after-the-last-row-on-scrolling

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!