How to cancel a cancel?

Wizard for WPF Forum

Posted 13 years ago by Crile Carvey
Version: 9.2.0515
Looks like we can trap the cancel event via wizard_Cancel, but how to cancel the cancel?

I want to do something like this:

private void wizard_Cancel(object sender, RoutedEventArgs e)
if (AreYouSure())
e.Cancel = true;

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
It just notifies you of the Cancel press right now. If you want to potentially cancel it, you'd have to turn off that option to auto-close the window on cancel and instead do window.Close() in your Cancel event handler when appropriate.

Actipro Software Support

The latest build of this product (v22.1.4) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.