[Version 2.0] Unable to restore Layout completely

Jul 16, 2012 at 7:42 AM

Hi,

in my application I use a similar layout as in the demo project. When I try to restore the layout anything but the LayoutDocumentPaneGroup is restored correctly, it just does not appear.

I use ContentId, any idea why it is not restored?

<?xml version="1.0" encoding="utf-8"?>
<LayoutRoot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <RootPanel Orientation="Horizontal">
    <LayoutAnchorablePane DockWidth="250">
      <LayoutAnchorable CanHide="False" CanAutoHide="False" Title="Sequence Browser" IsSelected="True" ContentId="Treeview" CanClose="False" />
    </LayoutAnchorablePane>
    <LayoutDocumentPaneGroup Orientation="Horizontal">
      <LayoutDocumentPane>
        <DockableTab Title="Empty tab" IconSource="pack://application:,,,/Resources/TabIcons/empty.png" IsSelected="True" ContentId="EmptyTab" />
      </LayoutDocumentPane>
    </LayoutDocumentPaneGroup>
    <LayoutAnchorablePaneGroup Orientation="Vertical" DockWidth="320">
      <LayoutAnchorablePane>
        <LayoutAnchorable CanHide="False" CanAutoHide="False" Title="ToolBox" IsSelected="True" ContentId="Toolbox" CanClose="False" />
      </LayoutAnchorablePane>
      <LayoutAnchorablePaneGroup Orientation="Horizontal">
        <LayoutAnchorablePane>
          <LayoutAnchorable CanHide="False" CanAutoHide="False" Title="Properties" IsSelected="True" ContentId="PropertyGrid" CanClose="False" />
        </LayoutAnchorablePane>
      </LayoutAnchorablePaneGroup>
    </LayoutAnchorablePaneGroup>
  </RootPanel>
  <TopSide />
  <RightSide />
  <LeftSide />
  <BottomSide />
  <FloatingWindows />
  <Hidden />
</LayoutRoot>



Regards,
Nepomuk