Command binding on Next button

Wizard for WPF Forum

Posted 5 years ago by torick
Version: 14.2.0610
Avatar

In Actipro Wizard, navigation buttons are configured through property of 'wizard:WizardPage' element. I want Next button bound to a command, which enables to check if the user can proceed based on her input. How can I implement it naturally, hopefully in a XAML-way?

Comments (1)

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

Hello,

The Next button is actually a Wizard-level (not WizardPage level) UI item.  It is already bound to the WizardCommands.NextPage command and its processing is handled internally.  The way you would prevent a Next button click from moving onto the next page would be to do what we do in the "Cancel Selection Change" where you handle an event and set its e.Cancel = true if certain conditions occur.


Actipro Software Support

The latest build of this product (v2019.1 build 0682) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.