WizardForm.ShouldShowPage(WizardPage) Method

Definition

When overridden in a derived class, determines which pages of the wizard can be shown in the wizard form.

protected:
 virtual bool ShouldShowPage(Microsoft::Web::Management::Client::Win32::WizardPage ^ page);
protected virtual bool ShouldShowPage (Microsoft.Web.Management.Client.Win32.WizardPage page);
abstract member ShouldShowPage : Microsoft.Web.Management.Client.Win32.WizardPage -> bool
override this.ShouldShowPage : Microsoft.Web.Management.Client.Win32.WizardPage -> bool
Protected Overridable Function ShouldShowPage (page As WizardPage) As Boolean

Parameters

page
WizardPage

The wizard page.

Returns

true to indicate that the page should be shown in the wizard form; otherwise, false.

Remarks

You can use this method to selectively determine which pages of the wizard will be displayed in the wizard form. If this method, with the page parameter, returns a value of false, the page will not be displayed when the user clicks the Next or Previous button.

Applies to