Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / RibbonQatItemCollection 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 RibbonButton 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