I have WPF application which has a main window that contains panels. I want to be able to temporary remove one panel from the main view (after button click) and put it into a new window in full screen mode, and then by Escape key clicked I want the control to go back to the original place in the main window.
I don't know how to remove and save the panel position in order to restore the main view.

Any help would be appreciated!