windowsforms-4729-controls-and-libraries-form-layout-managers-wizard-control-fundamentals-page-events.md
This help topic describes the sequence of events raised when an end-user navigates between wizard pages.
WizardControl.NextClick - Fires when the Next button is clicked. Allows you to cancel the operation or navigate to a custom page.
WizardControl.SelectedPageChanging - Enables you to control whether a wizard page can be selected. You can handle this event to do the following:
BaseWizardPage.PageCommit - Enables you to persist the changes made within the current step.
BaseWizardPage.PageInit - Fires when the current BaseWizardPage is about to be displayed and allows you to initialize the content of this page.
WizardControl.SelectedPageChanged - Fires after the current wizard page has been changed.
WizardControl.PrevClick - Fires after the Back button has been clicked and allows you to cancel the operation.
BaseWizardPage.PageValidating - Enables you to specify whether page data is valid, and whether the page can be switched.
WizardControl.SelectedPageChanging - Enables you to control whether a wizard page can be selected.
BaseWizardPage.PageRollback - Enables you to rollback the current step.
BaseWizardPage.PageInit - Fires when the current BaseWizardPage is about to be displayed and allows you to initialize the content of this page.
WizardControl.SelectedPageChanged - Fires after the current wizard page has been changed.