I do not think that Views should create ViewModels.
ViewModels must create other ViewModels, and the view simply determines how to draw the ViewModel.
For example, a ParentViewModel may have a ChildViewModel property. ParentView will contain a ContentControl whose content is bound to the ChildViewModel , and the DataTemplate will be used to tell the application that it is drawing the ChildViewModel as a ChildView .
With that said, how is your View currently creating your ViewModel? You can always add DependencyProperties to your view and create your ViewModel in the loaded View event using these properties.
source share