Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Trims the Server ribbon based on the current list’s settings.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Trim
'Usage
Dim instance As RibbonTrimmer
instance.Trim()
public void Trim()
Remarks
By default, this trims the Publishing and Workflow groups in the Publish tab. This method should be overridden if you add custom controls to the Publish tab.