开发者

Treeview -- How to scroll until selected item is on top?

开发者 https://www.devze.com 2023-03-07 00:40 出处:网络
I\'m Working On A personal file browser app for a year, and I\'m Trying to Focus was folder I choose开发者_StackOverflow.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号