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

DockingManager Serialization

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">









1 Reply

HK Hemanth Kumar K Syncfusion Team November 17, 2009 05:48 PM UTC

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.

Loader.
Live Chat Icon For mobile
Up arrow icon