I am building a desktop application using WPF and Caliburn MVVM. In my Views directory, I have several files that follow this pattern:
ExampleView.xaml <= this is the actual user interface design ...
ExampleView.xaml.cs <= what is happening here?
Then I also have a ViewModel for each view.
Can someone explain what should go in ExampleViewModel.cs and what should go in ExampleView.xaml.cs? It looks like my ViewModels are inheriting from "Screen", where my ExampleView.xaml.cs is inheriting from "Window".
Thanks!
source
share