When or how will the ParentViewModel property be set?

Topics: Questions
Jul 24, 2012 at 2:38 PM


I saw there is a parentViewModel, but how to set this, because this property is always null? Or when will this be set?

Jul 25, 2012 at 6:55 PM

The ParentViewModel will only be set in nested user controls scenarios. The ParentViewModel will be the view model of the parent control. Then Catel can create a validation chain for you.