Share via


RibbonTrimmer.TrimWorkflowGroup Method

Removes the Workflow group controls in the Publish tab.

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

Syntax

'Declaration
Protected Overridable Function TrimWorkflowGroup As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.TrimWorkflowGroup()
protected virtual bool TrimWorkflowGroup()

Return Value

Type: System.Boolean
true if all controls have been removed from the Workflow group; otherwise, false.

Remarks

This method needs to be overridden for new controls to be added to the Workflow group.

See Also

Reference

RibbonTrimmer Class

RibbonTrimmer Members

Microsoft.SharePoint.WebControls Namespace