DocumentContent can't store layout

Feb 11, 2010 at 3:53 PM

 

Hello,

AvalonDock is a very useful component. I just wished it was more orthogonal in its functions.

I had to learn the hard way (by stepping through the source code while debugging) that DocumentContent simply can't store its position within a DocumentPane. Only DockableContent is serialized inside a DocumentPane.

Could you please offer a way to store the layout of documents inside DocumentPanes? Is there a workaround? (I'm using MVVM to handle my documents inside an ObservableCollection.)

Regards, Thorsten