私はAvalonDocでプリズムを使用しています。
レイアウトを復元しようとすると(メニューボタン「RestoreLayout」のイベントハンドラーで)
dockManager.RestoreLayout(FileName);
正しいレイアウト構造を取得しましたが、すべてのリージョンのコンテンツが空になりました。モジュールなどにリロードする必要がありますか?
私のxamlコードのavalondocコードは次のようなものです。
<ad:ResizingPanel ad:ResizingPanel.ResizeWidth="*" Orientation="Vertical" VerticalAlignment="Top">
<ad:DockablePane ad:ResizingPanel.ResizeHeight="150" prism:RegionManager.RegionName="RegionDocPane1">
<ad:DockableContent Name="DocContent1" HorizontalAlignment="Left"/>
</ad:DockablePane>
</ad:ResizingPanel>
<ad:DockableContent Name="DocContent2" HorizontalAlignment="Right"/>
</ad:ResizingPanel>
</ad:DockingManager>