RibbonTrimmer Constructor
Initializes a new instance of the RibbonTrimmer class.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
ribbon As SPRibbon _
)
'Usage
Dim ribbon As SPRibbon
Dim instance As New RibbonTrimmer(ribbon)
public RibbonTrimmer(
SPRibbon ribbon
)
Parameters
ribbon
Type: Microsoft.SharePoint.WebControls.SPRibbonThe Ribbon object to be trimmed.