Treeview -- How to scroll until selected item is on top?
I'm Working On A personal file browser app for a year, and I'm Trying to Focus was folder I choose开发者_StackOverflow.
For instance, if I say my default folder is C: \ Users \ Me Then It Will Automatically expand C, Then Users, etc. ...
In the end, I select the 'Me' folder, I did not manage to scroll to Automatically so That I can see it on top of my list. Does anybody Have an idea?
Thanks for the help!
Have u look at this: Scroll WPF Listview to specific line
Scroll a new item in a ItemsControl into view
精彩评论