This is a migrated thread and some comments may be shown as answers.

Vertical scroll bar not fully displayed

1 Answer 253 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 08 Dec 2012, 10:45 PM
When my tree view expands to no longer fit the window, vertical scroll bars do not appear. When I set:
ScrollViewer.VerticalScrollBarVisibility="Visible"

I initially get a disabled scroll bar. When I expand my tree, the height of the scroll bar is taller than the window so I still can't scroll.
My tree is inside a RadDocumentPane. I have a RadGridView in another RadDocumentPane and scrolling works for it.
Is there something special for a RadTreeView?

1 Answer, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 08 Dec 2012, 11:22 PM
I fixed it by adding to the rad tree view:
MaxHeight="{Binding ActualHeight,ElementName=root}"
where "root" refers to my UserControl. (I misspoke before. My tree is in a UserControl, which is in a RadDocumentPane).



Tags
TreeView
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Share this question
or