I am trying to implement a solution where a RadPane can be maximized/restored. My solution is based on this topic http://www.telerik.com/forums/add-maximize-button-to-radpane-header, which unfortunately is very much incomplete. I have updated the solution (using Q1 2016) to be a more complete solution that handles different scenarios and have one last thing to figure out (at least at this point). When I maximize the only RadPane in the RadPaneGroup, the group is removed from RadSplitContainer (since I took the only pane out of the group). So when I try to restore layout, I need to add RadPane to the RadPaneGroup and then place RadPaneGroup back to the original location in the RadSplitContainer - this is unfortunately something I have not been able to figure out.
Here is how to see what I am trying to do. Take the solution from link (I used VS 2015 with dot.net 4.6.1). Run it, then drag Panel 1 from left side to the right of the window, so you end up with 2 RadPaneGroups each with 1 RadPane. Maximize the RadPane on right side and then restore it. What you will see is the restored pane is no longer on the right of the window, but is docked to the left right next to the other pane. In code in MainWindow.xaml.cs, this logic is on line 76. All I do is add it to the RadSplitContainer.Items collection and it places it on the left. I need help figuring out how to place it back where it was before maximize logic was executed.
https://drive.google.com/file/d/0B9CRDbP2kUo7dzZkcDY3Z2tXQUk/view?usp=sharing
Thank You