Docking Tab for WinForms | ComponentOne
C1.Win.Command Namespace / RadialMenuItemCollection Class / IndexOf Method / IndexOf(RadialMenuItemBase) Method
The RadialMenuItemBase item to locate in the RadialMenuItemCollection.

In This Topic
    IndexOf(RadialMenuItemBase) Method
    In This Topic
    Searches for the specified object and returns the zero-based index of the first occurrence within the entire RadialMenuItemCollection.
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal item As RadialMenuItemBase _
    ) As Integer
    public int IndexOf( 
       RadialMenuItemBase item
    )

    Parameters

    item
    The RadialMenuItemBase item to locate in the RadialMenuItemCollection.

    Return Value

    The zero-based index of the first occurrence of item within the entire RadialMenuItemCollection, if found; otherwise, -1.
    See Also