Hello,
how can I datatemplate a UserControl with a ViewModel with a NON-Empty constructor ?
public PersonViewModel(Person person)
{
_person= person;
// do some stuff
}
Binding this in Xaml will crash as the Ctor is not empty. But as I use parent/child relations with the ViewModels I have to pass the person object to the constructor of the ViewModel...
How do you cope with that situation?