I am looking for a way to dynamic create pageclasses based on a result from a webservice. If pagetype is 0, then add welcomePage, if pagetype is 1 then add another page. Is it possible to do this with include or something similar? I would like to use a each loop.
Example on hardcoded markup I am trying to create based on result from webservice.
<PageControl ux:Name="pageControl" ActiveIndex="{activeIndex}">
<WelcomePage />
<PageClass1/>
<PageClass2/>
</PageControl>