RibbonTrimmer.TrimWorkflowGroup method

Removes the Workflow group controls in the Publish tab.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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