
Hello,
I am using an instance of DockSiteLayoutSerializer to call LoadFromString, using a dockSite as a parameter:
DefaultDockSiteLayoutSerializer.Instance.LoadFromString(_settings.Layout, _dockSite);
For some reason, somewhere in LoadFromString is firing an Unloaded event on ContentControls within the DockSite. I don't want it to fire Unloaded because other objects are listening for that Unloaded event and reacting like it was unloaded when I am just trying to load the DockSite settings layout upon opening the view. Oddly enough, the Unloaded event is only fired in LoadFromString when I run the program from the executable, it doesn't happen when I run from Visual Studio. Do you know what is going on here?
Thanks,
Joel