F
F
Festelo2017-03-07 20:37:44
WPF
Festelo, 2017-03-07 20:37:44

How to disable scroll height reset of ScrollViewer in TreeView when TreeViewItem is removed?

There is a TreeView, it has the property ScrollViewer.VerticalScrollBarVisibility="Auto". Everything works fine, but when items are removed from the TreeView, the scroll height is reset.
Found a solution for a similar problem , but there for WinForms, how to do it for WPF?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question