This project is read-only.

DocumentContent can't store layout

Feb 11, 2010 at 4:53 PM



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