MobileForms Toolkit Documentation

ItemAdvancedComboBox.IndexOf Method 

Retrieves the index within the collection of the specified item.

public int IndexOf(
object value
);

Parameters

value
The item to locate in the collection. The value can be a null reference (Nothing in Visual Basic).

Return Value

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

Remarks

The IndexOf method enables you to determine where an object is located within the ComboBox.

Note   This method applies only to the inner list of combobox and is not applicable for bound combobox.

See Also

ItemAdvancedComboBox Class | Resco.Controls.DetailView Namespace