-
Since I lost my hd data, I'm trying to rebuild some example that help me to remeber things.
then the RedViewModel and RedView:
Running this I get no exception, but when I click the button, RedView is not showd, instead there is a text : StyletTest.RedViewModel. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved: changed this: to |
Beta Was this translation helpful? Give feedback.
Solved: changed this:
<ContentControl **Content=**"{Binding ActiveItem}" HorizontalAlignment="Left" Height="106" Margin="50,142,0,0" VerticalAlignment="Top" Width="185" />
to
<ContentControl **s:View.Model**="{Binding ActiveItem}" HorizontalAlignment="Left" Height="106" Margin="50,142,0,0" VerticalAlignment="Top" Width="185" />