We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Docking Manager Persistence With Dynamically Added Content


I'm trying to save and load the layout from Docking Manager and it seems to work for only Content Controls that are declared in XAML. When I add a Content Control programmatic ally it doesn't save. This entry in the KB seems to suggest this is a supported operation as long as I save after adding them dynamically. 


Is this a supported operation?

1 Reply

VR Vijayalakshmi Roopkumar Syncfusion Team March 2, 2016 11:56 AM UTC

Hi Andy,

Thank you for using Syncfusion products.

DockingManager control loads the saved state of DockingManager correctly, when the children collection matches with the Saved state file. You can save and load the dynamically added children by changing its state until the application closes. Since after closing the application, the dynamically added children are removed from the children collection of DockingManager. So on loading it would result in an improper layout.

Vijayalakshmi V.R.

Live Chat Icon For mobile
Up arrow icon