TitleBarWebPart class
實作網頁組件網頁組件的標題,並呈現Microsoft.SharePoint.WebPartPages.SettingsLink。
Inheritance hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.Panel
System.Web.UI.WebControls.WebParts.Part
System.Web.UI.WebControls.WebParts.WebPart
Microsoft.SharePoint.WebPartPages.WebPart
Microsoft.SharePoint.WebPartPages.TitleBarWebPart
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<SupportsAttributeMarkupAttribute(True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class TitleBarWebPart _
Inherits WebPart _
Implements IDesignTimeHtmlProvider
'用途
Dim instance As TitleBarWebPart
[SupportsAttributeMarkupAttribute(true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class TitleBarWebPart : WebPart,
IDesignTimeHtmlProvider
備註
如果開啟 [匿名存取, Microsoft.SharePoint.WebPartPages.AuthenticationButton會呈現在標題列中。
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.