回答編集履歴
1
コードの間違いがありました
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
ViewModel をバインドしているのが Window の場合は、
|
4
4
|
|
5
|
-
`"{Binding Source={RelativeSource
|
5
|
+
`"{Binding RelativeSource={RelativeSource AncestorType=Window, AncestorLevel=1}}"`
|
6
6
|
|
7
7
|
のように指定する。
|
8
8
|
|