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

Docking and LoadLayout with Prism

1 Answer 76 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 03 Nov 2010, 04:09 PM

We have an application that uses the Docking controls and we are using the LoadLayout and SaveLayout functionality to restore dock panel positions. Each of our dock panels is populated with a module using a Prism region.

The problem we're seeing is that after calling LoadLayout, the restored dock panel is empty. It's as though the view is not being injected into the region after restoring the layout. Is there some way I can do this programmatically after the layouts are restored?

1 Answer, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 1
answered on 03 Nov 2010, 11:17 PM
Solved! We had a couple of elements with the same serialization tag and it ended up producing the described behavior.
Tags
Docking
Asked by
Kevin
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 1
Share this question
or