|
Why I get this error? But application runnable, shows 3 rows in RootViewModel.csRootView.xamlNetworkDataViewModel.csNetworkDataView.xaml |
Answered by
canton7
Mar 12, 2021
Replies: 2 comments 8 replies
|
In Stylet, you use <ContentControl s:View.Model="{Binding NetworkDataViewModel}"/>You're trying to use it with |
5 replies
Answer selected by
GF-Huang
|
Hey @canton7 , I found that |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment





In Stylet, you use
s:View.ModelwithContentControl:You're trying to use it with
local:NetworkDataView, but it won't do anything in that case. So the DataContext ofNetworkDataViewis still set toRootViewModel, which is why you get your binding error.