I want to build a wizard using Xtended WPF Toolkit's wizard controls. However, in the designer I only see the first page and cannot find a way to switch to another one. In other controls like the TabControl if I place the cursor into a TabItem the designer switches, but here it does not.
So, how do I achieve this?
As pointed out by the user Shakra, the Xceed Wizard can only display the pages in the designer by setting the
CurrentPageproperty, and even this has some flaws: When re-opening the xaml file or rebuilding the project, it shows the first page again, I have to make an edit to theCurrentPageproperty in the XAML source editor to make it show the correct page again.So here's what I am now doing:
CurrentPageproperty to get a glimpseUserControls, and add nothing except the respectiveUserControlinto the wizard pages, hooking up their view models from outside (my user controls have aViewModeldependency property that take the respective view model object)So I can do the heavy editing and wiring-up in the XAML of the user controls, and use the hackish workaround with the
CurrentPageproperty only to get a glimpse if everything is set up right.