Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / RibbonGalleryItemCollection Class / IndexOf Method / IndexOf(String) Method
The text to search for, case-sensitive.

In This Topic
    IndexOf(String) Method
    In This Topic
    Determines the index of the first occurrence of a RibbonGalleryItem with the specified text in this collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal text As String _
    ) As Integer
    public int IndexOf( 
       string text
    )

    Parameters

    text
    The text to search for, case-sensitive.
    See Also