WebPart.TitleUrl property

Get or sets a title link.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

[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