One of my XAML files shows a strange behaviour in the XAML designer (but not during runtime):
public class MyDesignTimeViewModel
{
public MyDesignTimeVi
Thankyou for the last two answers. In my case 'Enable Project Code in XAML' has randomly turned off as well! I didnt have the designer pulling the view model code for a few weeks. So very happy this has been fixed. So in all to get this working you need:
d:DataContext="{d:DesignInstance vm:MyDesignTimeViewModel}"
and the little icon with a blue square and caption 'Enable Project Code in XAML' to be turned on!