質問編集履歴
1
xamlの関連が記載が漏れていたため追記。
test
CHANGED
File without changes
|
test
CHANGED
@@ -87,3 +87,33 @@
|
|
87
87
|
</UserControl>
|
88
88
|
|
89
89
|
```
|
90
|
+
|
91
|
+
---
|
92
|
+
|
93
|
+
**<xamlの関連が記載が漏れていたため追記。>**
|
94
|
+
|
95
|
+
`View.xaml`と`Menu.xaml`はそれぞれ独立しており、Shellのxamlからそれぞれを参照しています。
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
Shell.xaml
|
100
|
+
|
101
|
+
```XML
|
102
|
+
|
103
|
+
<Window>
|
104
|
+
|
105
|
+
<Grid>
|
106
|
+
|
107
|
+
<!-- Menu.xaml -->
|
108
|
+
|
109
|
+
<ContentControl prism:RegionManager.RegionName="MenuRegion" />
|
110
|
+
|
111
|
+
<!-- View.xaml -->
|
112
|
+
|
113
|
+
<ContentControl prism:RegionManager.RegionName="ViewRegion" />
|
114
|
+
|
115
|
+
</Grid>
|
116
|
+
|
117
|
+
</Window>
|
118
|
+
|
119
|
+
```
|