Back to Devexpress

Page Events

windowsforms-4729-controls-and-libraries-form-layout-managers-wizard-control-fundamentals-page-events.md

latest2.6 KB
Original Source

Page Events

  • Jan 23, 2019
  • 2 minutes to read

This help topic describes the sequence of events raised when an end-user navigates between wizard pages.

Forward Navigation

  1. WizardControl.NextClick - Fires when the Next button is clicked. Allows you to cancel the operation or navigate to a custom page.

  2. BaseWizardPage.PageValidating

  3. WizardControl.SelectedPageChanging - Enables you to control whether a wizard page can be selected. You can handle this event to do the following:

  4. BaseWizardPage.PageCommit - Enables you to persist the changes made within the current step.

  5. BaseWizardPage.PageInit - Fires when the current BaseWizardPage is about to be displayed and allows you to initialize the content of this page.

  6. WizardControl.SelectedPageChanged - Fires after the current wizard page has been changed.

Backward Navigation

  1. WizardControl.PrevClick - Fires after the Back button has been clicked and allows you to cancel the operation.

  2. BaseWizardPage.PageValidating - Enables you to specify whether page data is valid, and whether the page can be switched.

  3. WizardControl.SelectedPageChanging - Enables you to control whether a wizard page can be selected.

  4. BaseWizardPage.PageRollback - Enables you to rollback the current step.

  5. BaseWizardPage.PageInit - Fires when the current BaseWizardPage is about to be displayed and allows you to initialize the content of this page.

  6. WizardControl.SelectedPageChanged - Fires after the current wizard page has been changed.