[Version 2.0] AnchorablesSource update collection preserving layout

May 25, 2012 at 7:21 PM

I have binded the AnchorablesSource to an observable collection of view Models, I have definded a LayoutAnchorablePane in the dockingManager and in the ILayoutUpdateStrategy I have inserted the viewModels inside the ancorable pane.

When I add an element to the observableCollection, the LayoutItem appear in the right panel, but if I take this panel outside the area inside a flyoutWindow, and then remove the element from the collection the flyoutWindow disappear, the if I add a new viewModel to the collection The layout item appear on the initial panel and not preserve the flyoutwindow position.

Is there any way to preserve the user location for the panel that have to accept the viewModels?