Share via


TitleBarWebPart.HeaderCaption Property

Gets or sets the caption that is displayed above the title in the title bar of the Web Part Page.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
Public Property HeaderCaption As String
    Get
    Set
'Usage
Dim instance As TitleBarWebPart
Dim value As String

value = instance.HeaderCaption

instance.HeaderCaption = value
[WebPartStorageAttribute(Storage.Shared)]
public string HeaderCaption { get; set; }

Property Value

Type: System.String
A string that represents a caption that is displayed above the title in the title bar of the Web Part Page.

Remarks

The HeaderCaption property is read/write.

See Also

Reference

TitleBarWebPart Class

TitleBarWebPart Members

Microsoft.SharePoint.WebPartPages Namespace