다음을 통해 공유


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
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property HeaderTemplate As String
    Get
    Set
'Usage
Dim instance As LevelHierarchyWebPart
Dim value As String

value = instance.HeaderTemplate

instance.HeaderTemplate = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
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