[]
        
(Showing Draft Content)

C1.Win.C1Command.RadialMenuItemCollection.IndexOf

IndexOf Method

IndexOf(RadialMenuItemBase)

Searches for the specified object and returns the zero-based index of the first occurrence within the entire RadialMenuItemCollection.

Declaration
public int IndexOf(RadialMenuItemBase item)
Parameters
Type Name Description
RadialMenuItemBase item

The RadialMenuItemBase item to locate in the RadialMenuItemCollection.

Returns
Type Description
int

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

Implements

IndexOf(object)

Searches for the specified object and returns the zero-based index of the first occurrence within the entire RadialMenuItemCollection.

Declaration
public int IndexOf(object value)
Parameters
Type Name Description
object value

The object to locate in the RadialMenuItemCollection.

Returns
Type Description
int

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

Implements