WPF TreeView - How to scroll so expanded branch is visible
Posted
by Jared
on Stack Overflow
See other posts from Stack Overflow
or by Jared
Published on 2010-02-11T00:16:54Z
Indexed on
2010/06/14
19:32 UTC
Read the original article
Hit count: 842
When I expand items in my treeview so that scrolling is necessary, a scrollbar appears. However, it doesn't scroll down for the newly expanded branch of items - they get cropped by the bottom of the control. So as I continue expanding items at the bottom of the tree, I have to keep manually scrolling down to see the new children. Anyone have a suggestion for how make it automatically scroll to show the newly expanded items?
© Stack Overflow or respective owner