Scrolling in virtualized WPF TreeView is very unstable

后端 未结 3 950
野趣味
野趣味 2021-02-06 22:47

If virtualizing is enabled in TreeView with items having various sizes, multiple problems appear:

  • Vertical scroll bar changes its size randomly and

3条回答
  •  暖寄归人
    2021-02-06 23:18

    To make the link more prominent, I am posting it in an answer too. It looks like a bug is within the framework code and there are no workarounds found yet. I have reported the bug on Microsoft Connect:

    Microsoft Connect: Scrolling in virtualized WPF TreeView is very unstable

    There is also a maybe related bug which was posted in the comments by @sixlettervariables:

    Microsoft Connect: WPF application freezes while scrolling the TreeView under specific conditions

    If you can reproduce the bugs, please vote them up.

提交回复
热议问题