michaelscodingspot / WPF_MVVMC

A WPF framework for navigation between pages with MVC-like pattern
MIT License
64 stars 18 forks source link

if view and viewcontroller and ViewModel have own folder, how to binding path #11

Closed tugodxx closed 5 years ago

tugodxx commented 5 years ago

if view and viewcontroller and ViewModel have own folder, how to binding path. I don't create view and viewcontroller and ViewModel in same path. how to use navigation?

michaelscodingspot commented 5 years ago

Hi,

The View, ViewModel, and Controller should be in the same namespace. It's easiest when they are in the same folder because VS will automatically set the namespace. But they don't have to be in the same folder, you can manually change their namespace and it will work.