This example demonstrates how to define a collection of wizard pages in the View Model and display them in the Wizard Control.
- Bind the
ItemsSource
property to the View Model collection that contains pages. - Assign the page content template to the
ItemTemplate
property. - Define page settings in the
Style
objects and create aStyleSelector
descendant that returns one of these objects based on the page type. Assign the selector to theItemContainerStyleSelector
property.
- ViewModel.cs (VB: ViewModel.vb)
- MainWindow.xaml (VB: MainWindow.xaml)
- PageStyleSelector.cs (VB: PageStyleSelector.vb)
(you will be redirected to DevExpress.com to submit your response)