Otter SDK Reference
Version:

IndexOf(ISimpleControl item) Method

Returns the index of the specified control in the collection.

Syntax

public virtual int IndexOf(ISimpleControl item)

Parameters

item
Type: ISimpleControl

The control.

Returns

Index of the control or -1 if it is not in the collection.