I'm trying to dynamically create wizard pages using the standard WPF DataTemplate/ItemsSource mechanism. Namely, I'm binding AeroWizard.ItemsSource="{Binding WizardPages}, where WizardPages is a collection of ViewModels. And, I have a bunch of DataTemplates set up in the AeroWizard.Resources for each of those ViewModels.
I know you've said in the past you don't support MVVM directly with the Wizard, but this is really standard WPF and DataTemplates.
I thought I had this working last week, but today, i get System.InvalidCastException any time I try to add a ViewModel to my WizardPages collection.
Thoughts?