Click here to Skip to main content
15,742,619 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I drag my GridSplitter , the Border that holds my TreeView automtically displays a horizontal ScrollBar when needed .
Can I get similar behavior verticaly when my TreeView Items list out of Borders verticle bounds.
I'm having a hard time finding this behavior.

1 solution

In great disbelieve (am I missing something?!), I just tested it. By default, it shows the vertical scroll bar as soon as you decrease the height of the grid raw where the tree view is placed. No problem.

Somehow, you screw it up. It you show possibly minimal code which reproduces the problem, you might get some more help. In perfect case, it would XAML only, with only: one Window, one Grid with row definitions, one GridSplitter and one TreeView.

Share this answer
o1010wanabe 28-Mar-11 22:34pm    
Thanks I dinked around with it and got what I need in , like you said certain circumstances . I will mark it as accepted and then dink around some more.
Sergey Alexandrovich Kryukov 28-Mar-11 22:37pm    
Thank you.
Good luck.
Sergey Alexandrovich Kryukov 12-Apr-11 21:25pm    
Did you delete your last Question "File in use by another process problem"?!
If you did, why? It does not matter if you already found the solution.

That was a very good Question; and I added an advanced comprehensive solution, and wanted to up-vote your Question. If you don't need an answer, other readers may need it.

Will you please explain what happened (if you know)?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900