Wizard.HeaderTemplate Property
Assembly: System.Web (in system.web.dll)
'Declaration <TemplateContainerAttribute(GetType(Wizard))> _ Public Overridable Property HeaderTemplate As ITemplate 'Usage Dim instance As Wizard Dim value As ITemplate value = instance.HeaderTemplate instance.HeaderTemplate = value
/** @property */ public ITemplate get_HeaderTemplate () /** @property */ public void set_HeaderTemplate (ITemplate value)
public function get HeaderTemplate () : ITemplate public function set HeaderTemplate (value : ITemplate)
Not applicable.
Property Value
An ITemplate that contains the template for displaying the header area on the Wizard. The default is a null reference (Nothing in Visual Basic).Use the HeaderTemplate property to specify the custom content that is displayed for the header area on a Wizard control. Define the content by creating a template that specifies how the header area is rendered.
The custom content for the template is contained within the HeaderTemplate object. You can add custom content to the HeaderTemplate object either by using template-editing mode in design view or by defining the HeaderTemplate object inline using HeaderTemplate tags. The content can be as simple as plain text or more complex (embedding other controls in the template, for example).
To access a control that is defined in a template programmatically, use the Controls collection of the Wizard object. You can also use the FindControl method of the Wizard object to find the control, if the control has an ID property specified.