SaveLayout Memory Leaks

Topics: Prism v1
Sep 11, 2011 at 6:53 AM

Hello,

 

I used saveLayout & RestoreLayout from Avalone Dock, but these functions need to put DockableContent in our design, all things work correctly, but when I load Layout it loads Dockable Content Each Time I load it !

so How can avoid this problem?

 

Any Help Will Be appreciated

Thanks

Developer
Sep 12, 2011 at 5:11 PM

Hi,

You mind find this project useful to use the AvalonDock library with Prism:

According to its description, the Sofa library wraps the AvalonDock and extends it providing functionality for composite application architectures like Prism. However, have in mind that Prism does not provide support for neither the Sofa or AvalonDock libraries.

If this does not help you to solve your problem, it could be useful if you could provide us a repro-sample application portraying this problem so that we can check for a possible workaround from Prism's side. If the problem is entirely caused by an AvalonDock issue, and the Sofa library is useful, it's likely that you will find better support regarding your problem in the Avalon forum, as it would be out of the scope of the Prism guidance.

I hope you find this useful,

Damian Cherubini
http://blogs.southworks.net/dcherubini