Share via


LevelHierarchyDataSourceView.HeaderText property

Gets or sets the text to display as a header above the contents of the data.

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

Syntax

'Declaration
Public Property HeaderText As String
    Get
    Set
'Usage
Dim instance As LevelHierarchyDataSourceView
Dim value As String

value = instance.HeaderText

instance.HeaderText = value
public string HeaderText { get; set; }

Property value

Type: System.String
A string that contains the header text.

Remarks

This property is not strictly part of the data query but is inserted into the result set as an attribute of the top-level (root) node so that the “header.xsl” templates can be used to show level hierarchy Web Parts The default value is an empty string.

See also

Reference

LevelHierarchyDataSourceView class

LevelHierarchyDataSourceView members

Microsoft.SharePoint.Publishing.WebControls namespace