SP.Ribbon.PageState.Handlers Methods
Applies to: SharePoint Foundation 2010
The following table lists the methods of the SP.Ribbon.PageState.Handlers class.
Methods
Name |
Description |
---|---|
Adds a specified state change dialog handler to the handler array. |
|
Defines a generic complete handler. |
|
Represents a generic error. |
|
Initializes a new instance of the Handlers class. |
|
Determines whether the "Approve" command is enabled. |
|
Determines whether the "Cancel Approve" command is enabled. |
|
Determines whether the "Check in" command is enabled. |
|
Determines whether the "Check out" command is enabled. |
|
Determines whether the "Delete" command is enabled. |
|
Determines whether the "Discard Checkout" command is enabled. |
|
Determines whether the "Don’t Save And Stop Editing" command is enabled. |
|
Determines whether the "Edit" command is enabled. |
|
Determines whether the page is currently being edited. |
|
Determines whether the "Override Checkout" command is enabled. |
|
Determines whether the "Publish" command is enabled. |
|
Determines whether the "Reject" command is enabled. |
|
Determines whether the "Save and Stop Editing" command is enabled. |
|
Determines whether the "Save" command is enabled. |
|
Determines whether the "Submit For Approval" command is enabled. |
|
Determines whether the "Unpublish" command is enabled. |
|
Handles the "Cancel" button click event in a modal dialog when the page state changes. |
|
Handles the "OK" button click event in a modal dialog when the page state changes. |
|
Registers a handler to initialize, validate, and make comments available. |
|
Sets the focus of the state change dialog to the specified Document Object Model (DOM) element node. |
|
Determines whether to show the state change dialog. |
Applies To
SP.Ribbon.PageState.Handlers Class