Quantcast
Channel: AvalonDock
Viewing all articles
Browse latest Browse all 2690

New Post: Unable to restore Layout completely

$
0
0

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


Viewing all articles
Browse latest Browse all 2690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>