AeroWizard.ItemsSource and DataTemplates

Wizard for WPF Forum

Posted 10 years ago by Tom P.
Version: 13.2.0592
Avatar

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?

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Tom,

That is correct, the WPF Wizard doesn't currently support MVVM architecture.  The Silverlight version on the other hand does support it since it was built later on with support for that specifically in mind.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.