ComponentOne Ribbon for WinForms
C1.Win.C1Ribbon.4.5.2 Assembly / C1.Win.C1Ribbon 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 System.String _
    ) As System.Integer
    public System.int IndexOf( 
       System.string text
    )

    Parameters

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