Quantcast
Channel: AvalonDock
Viewing all articles
Browse latest Browse all 2690

Commented Issue: PreviousContainerId causing error on layout load [15627]

$
0
0
I was able to create this issue in my local application as well as the MVVM demo in the samples.

I'm getting an error when I load my layouts saying that the pane with ID (enter guid here) does not exist.

To recreate :

Launch MVVMTestApp
Move ToolsPane to Right side docking location
Save layout
Move ToolsPane to Top docking location
Save Layout
Exit app

Launch App
Load layout

Question is, what are the PreviousContainerId and PreviousContainerIndex for? And why does a layout load on a new launch of the application care about the id of a pane that was destroyed long ago?
Comments: ** Comment from web user: adospace **

Hum, I have jest tested it with latest version and it seems to work, which version are you using?

PreviousContainer is used when AD need to show the anchorable when is hidden or need to move the windows from floatinng window to previous docked position (when user click the Dock menu item)
Ado


Viewing all articles
Browse latest Browse all 2690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>