WebPart.TitleUrl 属性
获取或设置一个标题链接。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<WebPartStorageAttribute(Storage.None)> _
Public Overrides Property TitleUrl As String
Get
Set
用法
Dim instance As WebPart
Dim value As String
value = instance.TitleUrl
instance.TitleUrl = value
[WebPartStorageAttribute(Storage.None)]
public override string TitleUrl { get; set; }
属性值
类型:System.String
包含的 URL string 。默认值是String.Empty。
实现
备注
当 URL 分配给TitleUrl属性时,Web 部件的标题将成为一个链接。如果用户单击的链接,则浏览器离开 URL 处的内容的 Web 部件的页面。标题链接未处于活动状态时在页面处于显示模式其中可以拖动控件,例如编辑、 设计、 或目录模式