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.
Unfortunately, activation email could not send to your email. Please try again.

DockingManager Serialization

Thread ID:

Created:

Updated:

Platform:

Replies:

91393 Nov 16,2009 12:08 PM Nov 17,2009 12:48 PM WPF 1
loading
Tags: Tools
Alex Rubakha
Asked On November 16, 2009 12:08 PM

I have a simple UserControl with DockingManager inside which i need to serialize at run-time to store the re-arranged layout. Simple call to Xaml.Writer(myUserControl) throws a StackOverflowException. Do you have any suggestions?


Here is the simple XAML that I use.


xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Tools.Controls;assembly=Syncfusion.Tools.WPF"
Height="500" Width="500">









Hemanth Kumar K [Syncfusion]
Replied On November 17, 2009 12:48 PM

Hi Alex,

Thanks for Choosing Syncfusion Products.

XAML Reader and XAML Writer is not capable to generate the entire XAML content for DockingManager instance. Because Visual and Logical tree for DockingManager is considerably large. Please use default state persistence logic that already in DockingManager. Here is link for our Online Documentation about State Persistence in DockingManager.

http://help.syncfusion.com/ug_73/toolswpf/HowToSetStatePersistenceForDockingManagerControl.html

Please let us know if you have any questions,

Regards,
HemanthKumar K.

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.

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.

;