I have a structure that I believe is not supported by Hierarchical Templates. If I'm wrong can someone show me how to bind this structure with templates.
ObservableCollection<AssessmentViewModel>
AssessmentViewModel.QuestionGroupViewModels<QuestionGroupViewModel>
QuestionGroupViewModel.QuestionViewModels<QuestionViewModel>
QuestionGroupViewModel.ChildQuestionGroupViewModels<QuestionGroupViewModel>
So each QuestionGroupViewModel can have a list of QuestionViewModels OR a list of ChildQuestionGroupViewModels and so on and so forth into infinity.
Is this possible with Hierarchical Templates or do I need to write code to do this.
ObservableCollection<AssessmentViewModel>
AssessmentViewModel.QuestionGroupViewModels<QuestionGroupViewModel>
QuestionGroupViewModel.QuestionViewModels<QuestionViewModel>
QuestionGroupViewModel.ChildQuestionGroupViewModels<QuestionGroupViewModel>
So each QuestionGroupViewModel can have a list of QuestionViewModels OR a list of ChildQuestionGroupViewModels and so on and so forth into infinity.
Is this possible with Hierarchical Templates or do I need to write code to do this.