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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Docking Manager Persistence With Dynamically Added Content

Thread ID:

Created:

Updated:

Platform:

Replies:

123252 Mar 1,2016 04:01 PM UTC Mar 2,2016 11:56 AM UTC WPF 1
loading
Tags: DockingManager
Andy Schuler
Asked On March 1, 2016 04:01 PM UTC

Hello,

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. 

http://help.syncfusion.com/wpf/dockingmanager/state-persistence?cs-save-lang=1&cs-lang=csharp#serialize-the-dynamically-added-children

Is this a supported operation?




Vijayalakshmi Roopkumar [Syncfusion]
Replied On 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.

Regards,
Vijayalakshmi V.R.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;