Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one main window and containing some different user control. Structure like this :
TemplateWindow : this window contains Section user control. I added data template as there can be multiple dynamic section.

SectionControl: It contains dataTemplate for dynamic Question user control.Section contain data trigger for show proper question depending on type.

YesNoQuestion_UserControl
WhQuestion_UserControl


I am creating different view model for each means for TemplateWindow,Section and questions but I want one collection which is Template that contains multiple sections and sections contains multiple questions.

But I am not able to achieve this.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900