UltimateEditor Class Library

DropDown.IndexOf Method 

Returns the zero-based index of the first occurrence of a dropdown item in the DropDownItem.

[Visual Basic]
Public Function IndexOf( _
   ByVal dropDownItem As DropDownItem _
) As Integer
[C#]
public int IndexOf(
   DropDownItem dropDownItem
);

Parameters

dropDownItem
The dropdown item to locate in the DropDown.

Return Value

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

See Also

DropDown Class | Karamasoft.WebControls.UltimateEditor Namespace