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

Mimicking VS2010 docking behavior

1 Answer 54 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Keylight
Top achievements
Rank 1
Keylight asked on 15 Mar 2011, 12:01 AM
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?

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 18 Mar 2011, 11:36 AM
Hello, 


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,
George
the Telerik team
Tags
Docking
Asked by
Keylight
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or