WizardPage.Wizard Property
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.
Gets wizard form that contains this wizard page.
protected:
property Microsoft::Web::Management::Client::Win32::WizardForm ^ Wizard { Microsoft::Web::Management::Client::Win32::WizardForm ^ get(); };
protected Microsoft.Web.Management.Client.Win32.WizardForm Wizard { get; }
member this.Wizard : Microsoft.Web.Management.Client.Win32.WizardForm
Protected ReadOnly Property Wizard As WizardForm
Property Value
The WizardForm object that contains this wizard page.
Examples
The following example demonstrates the Wizard property. This example sets the caption of the wizard form. This code example is part of a larger example provided for the WizardPage class.
// The Description button is clicked.
private void button3_Click(object sender, EventArgs e)
{
Description = Caption.ToString();
this.Wizard.TaskCaption = Description;
}
Remarks
You can use this property to obtain the wizard form to which this page belongs. This property enables you to create a custom Wizard property.