LevelHierarchyWebPart.Header Property
Gets or sets the text to display above the level information in the Web Part.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property Header As String
Get
Set
'Usage
Dim instance As LevelHierarchyWebPart
Dim value As String
value = instance.Header
instance.Header = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public string Header { get; set; }
Property Value
Type: System.String
Exceptions
Exception | Condition |
---|---|
WebPartPageUserException | Header text contains too many characters. The maximum allowed is 500. |
Remarks
The default value is the empty string.