WPF DataGrid is very slow to render

后端 未结 10 2036
我在风中等你
我在风中等你 2020-12-23 02:30

I have tried using both a customized DataGrid as well as the stock one in WPF. I have tried populating them manually as well as through bindings. In both cases they are sl

10条回答
  •  心在旅途
    2020-12-23 02:59

    My problem was that I had ScrollViewer.CanContentScroll="False" set on my DataGrid. This disables virtualization all together for the DataGrid. More info about this can be found here:

    https://stackoverflow.com/a/3724695/4383302

提交回复
热议问题