How to fill the pane with contained control, and use scroll bars of the contained control?

2 posts, 0 answers
  1. Alex
    Alex avatar
    26 posts
    Member since:
    Sep 2007

    Posted 14 Sep 2008 Link to this post

    Hello,

    I have a treeview control contained inside a pane in a nested splitter. When the treeview is populated, it's height exceeds the height of it's containing pane.
    As a result, the pane adds vertical scroll bars, even though I specify all panes Scrolling to None. When I use the arrow keys to move up and down the tree, the selected nodes scroll out of view.

    How can I make the treeview fill the entire viewport of the pane, and allow only the scroll bars from the tree view?  I would like the treeview to resize as I resize the pane.

    Thank you,
    Alex
  2. Alex
    Alex avatar
    26 posts
    Member since:
    Sep 2007

    Posted 15 Sep 2008 Link to this post

    Of course this was as simple as setting the contained tree's height to 100% - I apologize for the trivial question.

    Alex
Back to Top