WPF
ListBoxでItemsSourceを設定すると、親のDataContextにバインドできなくなる。 やりたいこととしては、下に書いた方法で親DataContextのHeightにバインドしたい。 でも下の方法ではできない。 MainWindowViewmodel.cs class WindowViewModel { public List<string> L</string>…
ListBoxでItemsSourceを設定すると、親のDataContextにバインドできなくなる。 やりたいこととしては、下に書いた方法で親DataContextのHeightにバインドしたい。 でも下の方法ではできない。 MainWindowViewmodel.cs class WindowViewModel { public List<string> L</string>…