Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / RibbonTabCollection Class / IndexOf Method / IndexOf(String) Method
String containing the name of the tab to locate (case-sensitive).

In This Topic
    IndexOf(String) Method
    In This Topic
    Gets the index of the RibbonTab with the given name.
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal name As String _
    ) As Integer
    public int IndexOf( 
       string name
    )

    Parameters

    name
    String containing the name of the tab to locate (case-sensitive).

    Return Value

    The index of the object in the collection, or -1 if the name was not found.
    See Also