Share via


WizardPage.OnPrevious Method

Definition

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

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

Returns

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

Remarks

Implementers should call this method when the user clicks the Previous button and moves to the previous page in the wizard. Implementers should check the CanNavigatePrevious property to determine whether a move to the previous page is enabled.

This method enables you to create a custom OnPrevious method.

Applies to

See also