Export (0) Print
Expand All

PublishingButton class

User interface (UI) control that renders in the Web browser as a clickable button with Microsoft SharePoint Foundation publishing styles.

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.Publishing.WebControls.PublishingButton

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class PublishingButton : WebControl

PublishingButton objects are most commonly used in the QuickAccessMenu, a control that is found in the Page Editing toolbar. In that this context, each button represents an action that can be executed by the user and that in most cases involves a postback. Each button can be displayed with text and an image, and can either execute JavaScript code or navigate to another page.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft