FlexChart | ComponentOne
C1.Win.Ribbon.4.8 Assembly / C1.Win.Ribbon Namespace / RibbonGroupCollection Class / IndexOf Method / IndexOf(RibbonGroup) Method
The RibbonGroup to locate in the collection.

In This Topic
    IndexOf(RibbonGroup) Method
    In This Topic
    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