WizardPage.OnNext Method

Definition

When overridden in a derived class, provides a mechanism to move to the next page of the wizard.

public:
 virtual bool OnNext();
public virtual bool OnNext ();
abstract member OnNext : unit -> bool
override this.OnNext : unit -> bool
Public Overridable Function OnNext () As Boolean

Returns

true if the user can move to the next page; otherwise, false.

Remarks

Implementers should call this method when the user clicks the Next button and moves to the next page of the wizard. Implementers should check the CanNavigateNext property to determine whether a move to the next page is enabled.

This method enables you to create a custom OnNext method.

Applies to

See also