I have a XamDockManager control with MDI-style ContentPanes. My tabs are bound. I am using Attached Properties to manage the tabs. I am using using Dependency Properties to handle loading and saving the layout.
On start up everything works as expected. My problem starts when I tear off one of my previously tabbed panes. SaveLayout() work correctly. If I shut down the app and restart it the load fails during xamDockManager.LoadLayout(path_to_saved_layout).
"Specified element is already the logical child of another element. Disconnect it first."
If I leave all of my bound, MDI-style panes as-is on start-up, there are no problems reloading the layout original layout. Tearing off non-bound panes, doesn't cause any problems either.
Any suggestions on how to get around this problem while still allowing my users the ability to save their custom layouts?
HI,
I am just following up on this thread.
Please let me know if you need further assistance.
Sincerely, Matt Developer Support Engineer
Think I have it fixed.
I am following up on this thread.
Sincerely, Matt DSE
I am just following up on this thread. Please let me know if you need further assistance.
Sincerely,
Matt DSE
I am just following up on this forum thread.
Please let me know if you need further assistance. Sincerely. Matt Developer Support Engineer