Share via


LevelHierarchyWebPart.HeaderTemplate Property

Gets or sets the style used to display the header text.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property HeaderTemplate As String
    Get
    Set
'Usage
Dim instance As LevelHierarchyWebPart
Dim value As String

value = instance.HeaderTemplate

instance.HeaderTemplate = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public string HeaderTemplate { get; set; }

Property Value

Type: System.String
The name of the XSL template used to display the header text.

Remarks

The Web Part must be associated with an XSL style sheet that either contains or imports a template with a name that matches the header template name. The default value is DefaultHeader.

See Also

Reference

LevelHierarchyWebPart Class

LevelHierarchyWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace