ComponentOne Ribbon for WinForms
IndexOf(String) Method

C1.Win.C1Ribbon.4 Assembly > C1.Win.C1Ribbon Namespace > RibbonGalleryItemCollection Class > IndexOf Method : IndexOf(String) Method
The text to search for, case-sensitive.
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

Reference

RibbonGalleryItemCollection Class
RibbonGalleryItemCollection Members
Overload List