Hi,
I need the following scenario: when an item is expanded, i need to scroll down automatically so the item expanded appears at the top of the treeview.
For example, when nothing is expanded, this looks like this:
http://img517.imageshack.us/i/capturegt.png/
But when I expand an item, this one appears automatically on top of the treeview, like this:
http://img256.imageshack.us/i/capture2a.png/
I've tried to play with BringIntoView, ScrollToVerticallOffset, etc.. but with no luck :(
Any ideas ?
Thanks !
I need the following scenario: when an item is expanded, i need to scroll down automatically so the item expanded appears at the top of the treeview.
For example, when nothing is expanded, this looks like this:
http://img517.imageshack.us/i/capturegt.png/
But when I expand an item, this one appears automatically on top of the treeview, like this:
http://img256.imageshack.us/i/capture2a.png/
I've tried to play with BringIntoView, ScrollToVerticallOffset, etc.. but with no luck :(
Any ideas ?
Thanks !