One of my XAML files shows a strange behaviour in the XAML designer (but not during runtime):
public class MyDesignTimeViewModel { public MyDesignTimeVi
To echo J.G.'s answer, the fix was to enable project code in the XAML designer which had mysteriously been disabled at some point.
New account so I can't vote or comment, I just didn't like seeing a correct answer downvoted.