Setting <Window.DataContext> in XAML
You'll need an xml namespace mapping to the ViewModels
namespace. Once you add that, it would be:
<Window.DataContext> <vms:MainWindowViewModel /></Window.DataContext>
(This is assuming you map vms
to the appropriate namespace.)
This should look just like your current namespace mapping for local:
, but called vms:
with the appropriate namespace specified.