WebPart.TitleUrl Property

Get or sets a title link.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.None)> _
Public Overrides Property TitleUrl As String
    Get
    Set
'Usage
Dim instance As WebPart
Dim value As String

value = instance.TitleUrl

instance.TitleUrl = value
[WebPartStorageAttribute(Storage.None)]
public override string TitleUrl { get; set; }

Property Value

Type: System.String
A string that contains the URL. The default value is String.Empty.

Implements

IWebPart.TitleUrl

Remarks

When you assign a URL to the TitleUrl property, the Web Part’s title becomes a link. If a user clicks on the link, the browser navigates away from the Web Part’s page to the content at the URL. The title link is not active when the page is in a display mode where controls can be dragged, such as edit, design, or catalog mode

See Also

Reference

WebPart Class

WebPart Members

Microsoft.SharePoint.WebPartPages Namespace