I have a ListView that presents data based on a StaticResource Template ("DataListView").
Current ListView XAML is below:
I would like to set the ListView's ItemTemplate dynamically in my code. In design time I plan to prepare a few templates: DataTemplate1, DataTemplate2, DataTemplate2, etc. In run time I would like the application to be able to switch between them.
Can it be done, and if so how?
Thank you very much! Solved the issue.
I also saw another blog that helped:
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?