PublishingButton class
SharePoint 2013
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
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Microsoft.SharePoint.Publishing.WebControls.PublishingButton
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.