WizardPage.OnNext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.