Share via


ApproveCommandHandler Class

Handles the Approve button on the ribbon when the rendered page represents a wiki or publishing page.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.SPRibbonCommandHandler
        Microsoft.SharePoint.WebControls.ApproveCommandHandler

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class ApproveCommandHandler _
    Inherits SPRibbonCommandHandler _
    Implements ICallbackEventHandler, IPostBackEventHandler
'Usage
Dim instance As ApproveCommandHandler
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class ApproveCommandHandler : SPRibbonCommandHandler, 
    ICallbackEventHandler, IPostBackEventHandler

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

ApproveCommandHandler Members

Microsoft.SharePoint.WebControls Namespace