Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
xamDockingManager Save Layout
posted

Hi,

I'm trying to save the layout of the xamDockManager to a xml file.

Whenever I request the content of the xamDockManager.SaveLayout to a string or filestream, it returns an error message.

"A first chance exception of type 'System.InvalidOperationException' occurred in Infragistics3.Wpf.DockManager.v9.2.dll

System.InvalidOperationException: All panes being serialized must have a specific unique name.

bij Infragistics.Windows.DockManager.LayoutManager.SaveLayout(XamDockManager dockManager, Stream stream)

bij Infragistics.Windows.DockManager.LayoutManager.SaveLayout(XamDockManager dockManager)"

I have afterwards set all the panels to have a unique SerializationID in XAML, but that didn't help either.

Any suggestion is welcome, thanks.

  • 90
    Verified Answer
    posted

    Hi,

    Just found the solution myself, forgot to enter a x:name for 2 of my panes...

    Problem solved, cheers.