WizardPage.Caption Property


Gets or sets the caption of a form, wizard page, or other object.

Namespace:   Microsoft.Web.Management.Client.Win32
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public string Caption { get; set; }

Property Value

Type: System.String

The caption text. The default is an empty string.

You should use this property to update the caption of the WizardPage object. The Caption property contains a string that is shown in the caption in the wizard form. You can use this string wherever you need a caption, such as in the title bar of the form that contains the wizard page or in the WizardPage control.

The following example demonstrates the Caption property. This example sets the caption to specific string value. This code example is part of a larger example provided for the WizardPage class.

Return to top