Ribbon.TrimById Method (String)
Locates a tab by its string identifier and trims it for the current page.
Namespace: Microsoft.Web.CommandUI
Assembly: Microsoft.Web.CommandUI (in Microsoft.Web.CommandUI.dll)
Syntax
'Declaration
Public Sub TrimById ( _
trimmedId As String _
)
'Usage
Dim instance As Ribbon
Dim trimmedId As String
instance.TrimById(trimmedId)
public void TrimById(
string trimmedId
)
Parameters
trimmedId
Type: System.StringThe string identifier of the tab to be trimmed.
Remarks
This method can be used for all controls on the Server ribbon.