In my XAML file, I have a Wizard defined like this
<Window.Resources>
<xctk:Wizard x:Key="wizard" FinishButtonClosesWindow="True" HelpButtonVisibility="Hidden">
Then, I have a 2 or 3 pages and a few controls to request input from the user.
I would like to disable the next button until the text inputs are filled and I would like to access the information from the fields once the wizard is done.
I tried setting the x:Name
property of my input controls and then maybe do something with those but I cannot access them in my code anyway.
In WizardPage you need Bind CanSelectNextPage property to boolean property in code behind
Example:
Code Behind: