ComponentOne Ribbon for WinForms
IndexOf(RibbonGroup) Method

C1.Win.C1Ribbon.4 Assembly > C1.Win.C1Ribbon Namespace > RibbonGroupCollection Class > IndexOf Method : IndexOf(RibbonGroup) Method
The RibbonGroup to locate in the collection.
Determines the index of the specified RibbonGroup in this RibbonGroupCollection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal group As RibbonGroup _
) As System.Integer
public System.int IndexOf( 
   RibbonGroup group
)

Parameters

group
The RibbonGroup to locate in the collection.

Return Value

The zero-based index of group if found in the RibbonGroupCollection; otherwise, -1.
See Also

Reference

RibbonGroupCollection Class
RibbonGroupCollection Members
Overload List