Compartilhar via


TitleBarWebPart Class

Implements the title Web Part for a Web Part Page and renders the 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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SupportsAttributeMarkupAttribute(True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class TitleBarWebPart _
    Inherits WebPart _
    Implements IDesignTimeHtmlProvider
'Usage
Dim instance As TitleBarWebPart
[SupportsAttributeMarkupAttribute(true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class TitleBarWebPart : WebPart, 
    IDesignTimeHtmlProvider

Remarks

If anonymous access is turned on, the Microsoft.SharePoint.WebPartPages.AuthenticationButton is rendered in the title bar.

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.

See Also

Reference

TitleBarWebPart Members

Microsoft.SharePoint.WebPartPages Namespace