vendredi 13 février 2015

VERY SIMPLE ViewModel inheritance

Hi guys,

I have a view hierarchy like this:


ParentView

ParentViewModel

---- ChildView (contained in ParentView)


My ChildView has many items, which are the "grandsons" of the parent view. Is it possible to bind a data or store from the ParentViewModel to the "grandsons" of the ParentView.

I know that ChildView will inherit the ParentViewModel by default, as it's a direct item of ParentView, but will it be the same for the ChildView children ^^ ?


Thanks in advance !






VERY SIMPLE ViewModel inheritance

Aucun commentaire:

Enregistrer un commentaire