FlexChart | ComponentOne
C1.Win.Ribbon.4.8 Assembly / C1.Win.Ribbon Namespace / RibbonItemCollection 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 System.String _
    ) As System.Integer
    public System.int IndexOf( 
       System.string text
    )

    Parameters

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