RibbonTrimmer Members
Include Protected Members
Include Inherited Members
Removes the Publishing group and Workflow group from the Publish tab if they do not contain any elements. Also removes the Publish tab if all controls have been removed from the Publishing and Workflow groups.
The RibbonTrimmer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RibbonTrimmer | Initializes a new instance of the RibbonTrimmer class. |
Top
Properties
Name | Description | |
---|---|---|
CurrentList | Returns the current context list of the request. | |
Ribbon | Gets the SPRibbon object that this object trims. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
Trim | Trims the Server ribbon based on the current list’s settings. | |
TrimPublishingGroup | Removes the Publishing group controls in the Publish tab. | |
TrimPublishTab | Calls TrimPublishingGroup and TrimWorkflowGroup. | |
TrimWorkflowGroup | Removes the Workflow group controls in the Publish tab. |
Top
Fields
Name | Description | |
---|---|---|
PublishTabTrimmingVisibilityContext | Defines the visibility context of the RibbonTrimmer control. This is set to PublishTabTrimmingVisibilityContext. |
Top