Share via


WizardForm.OnPageChanging(EventArgs) Method

Definition

When overridden in a derived class, indicates that the user is moving from the current page to the previous or next page of the wizard form.

protected:
 virtual void OnPageChanging(EventArgs ^ e);
protected virtual void OnPageChanging (EventArgs e);
abstract member OnPageChanging : EventArgs -> unit
override this.OnPageChanging : EventArgs -> unit
Protected Overridable Sub OnPageChanging (e As EventArgs)

Parameters

e
EventArgs

An EventArgs that contains the event data.

Remarks

This method enables you to create a custom OnPageChanging method. Clicking the Previous or Next button will change a wizard page and will result in a call to this method before the next page is loaded.

Applies to

See also