共用方式為


SP.Ribbon.PageState.PageStateStrings Fields

Applies to: SharePoint Foundation 2010

The following table lists the fields of the SP.Ribbon.PageState.PageStateStrings class.

Fields

Name

Description

cancelApproval

Represents the ID of the button on the Server ribbon to cancel the submission of the page for approval as a major version.

checkin

Represents the ID of the button on the Server ribbon to check in the page that is checked out.

checkout

Represents the ID of the button on the Server ribbon to check out the page.

docLibApprovalEnabledStateName

Represents a document library setting to enable content approval for submitted items.

docLibCheckoutRequiredStateName

Represents a document library setting to enable whether documents must be checked out before they can be edited.

docLibMinorVersionsEnabledStateName

Represents a document library setting to create a major and minor version before a file is edited.

docLibVersioningEnabledStateName

Represents a document library setting to create a major version before a file is edited.

docLibWorkflowEnabledStateName

Represents a document library setting to enable workflow on the library.

edit

Represents the ID of the button on the Server ribbon to edit the contents of the page.

itemCancelWorkflowEnabledStateName

Represents the item that enables the user to cancel the workflow associated with the item.

itemHasCheckedInVersionStateName

Represents the item that has been checked in as a major version.

itemHasCustomizableZonesStateName

Represents the item that has customizable zones.

itemHasFieldControlsStateName

Represents the item that contains field controls.

itemHasPersonalizableZonesStateName

Represents the item that has personalizable zones.

itemHasWorkflowRunningStateName

Represents the item that has a workflow running on it.

itemIsCheckedOutToCurrentUserStateName

Represents the item that is checked out to the current user.

itemIsCheckedOutToOtherUserStateName

Represents the item that is checked out to another user.

itemIsCheckedOutToSystemUserStateName

Represents the item that is checked out to an administrator.

itemIsDefaultPageStateName

Represents the item that is the default page.

itemIsFormsPageStateName

Represents the item that is a Forms page.

itemIsInLibraryStateName

Represents the item that is in a document library.

itemIsInPersonalViewStateName

Represents the item that is in a personal view.

itemIsInSharedViewStateName

Represents the item that is in a shared view.

itemIsMajorVersionStateName

Represents the item that is a major version of a file.

itemIsMasterPageGalleryFileStateName

Represents the item that is a gallery of master pages.

itemIsMinorVersionStateName

Represents the item that is a minor version of a file.

itemIsPendingApprovalStateName

Represents the item that is pending approval.

itemIsRejectedStateName

Represents the item that is rejected.

itemIsScheduledStateName

Represents the item that is scheduled to be published.

itemIsWebPartPageStateName

Represents the item that is a Web Parts page.

itemIsWikiPageStateName

Represents the item that is a wiki page.

overrideCheckout

Represents the ID of the button on the Server ribbon to check in the page that is checked out to another user, discarding any changes made in the checked-out version.

publish

Represents the ID of the button on the Server ribbon to publish a major version of the page.

save

Represents the button ID of the Server ribbon to save the changes to the page.

saveAndStop

Represents the ID of the button on the Server ribbon to save the changes to the page and exit edit mode.

submit

Represents the ID of the button on the Server ribbon to submit the page for approval as a major version.

unpublish

Represents the ID of the button on the Server ribbon to change the current major version of the page to a minor version.

userHasApproverRightsStateName

Represents the user who has rights to approve or reject items.

userHasContributorRightsStateName

Represents the user who has rights to contribute items.

userHasDeleteRightsStateName

Represents the user who has rights to delete items.

userHasOverrideCheckoutRightsStateName

Represents the user who has rights to check in the page that is checked out to another user, discarding any changes made in the checked-out version.

viewModeHasSaveConflictStateName

Represents the view mode that has a save conflict.

viewModeIsEditStateName

Represents the view mode that is Edit.

viewModeIsWebPartDesignStateName

Represents the view mode that is Design.

Applies To

SP.Ribbon.PageState.PageStateStrings Class

See Also

Reference

SP.Ribbon.PageState.PageStateStrings Methods

SP.Ribbon.PageState Namespace