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

public override string TitleUrl { get; set; }

Property Value

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



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