Mimicking VS2010 docking behavior

2 posts, 0 answers
  1. Keylight
    Keylight avatar
    6 posts
    Member since:
    Nov 2009

    Posted 14 Mar 2011 Link to this post

    I'd like to mimic the docking behavior found in Visual Studio 2010 with RadDocking.  Specifically, I'd like to (a) mimic the order of the panes in the docking control and (b) the pane that gets focus when another pane is closed.  Here are some examples:

    Example 1:

    Create panes A, B, and C and place them in a docking control (programmatically or by dragging/dropping)

    In RadDocking: The order of the panes is A, B, and C.
    In VS2010: The order of the panes is C, B, A.

    Example 2:

    If I have multiple panes open, all stacked on one another, and I close a pane:

    In RadDocking: The far left pane always gets focus.
    IN VS2010: The last selected pane in the stack gets focus.

    Thanks in advanced.

    P.S. I guess some related questions would be:

    1. How do I change the order of several panes stacked together?
    2. How do I bring a particular pane in a stack of panes to the front without changing the order of the stack of panes?  e.g. In the Silverlight Docking demo > First Look, the user can click on the "NotDragable" pane and bring it to the front (in front of the "Description" pane) without changing the order of the two panes.  How would I do that programmatically?
  2. George
    George avatar
    1332 posts

    Posted 18 Mar 2011 Link to this post


    Straight to your questions:

    In order to set a selected pane in a RadPaneGroup, I would suggest you to use the RadPaneGroup.SelectedIndex property. Unfortunately, we don't support the other scenarios.

    Best wishes,
    the Telerik team
Back to Top