Wizard::HeaderText Property

 

Gets or sets the text caption that is displayed for the header area on the control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
property String^ HeaderText {
	virtual String^ get();
	virtual void set(String^ value);
}

Property Value

Type: System::String^

The text caption displayed for the header area on the Wizard. The default is an empty string ("").

The HeaderText property defines the text caption that is displayed for the header area on the Wizard control.

To control the style of the header area, use the HeaderStyle property. Alternatively, you can define your own custom UI for the header row by setting the HeaderTemplate property instead of the HeaderText property.

System_CAPS_noteNote

If both the HeaderText and HeaderTemplate properties are defined, the HeaderText property has no effect.

The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and ASP.NET Globalization and Localization.

The following code example demonstrates how to use the ActiveStepChanged event to update the HeaderText property of the Wizard control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: