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

Namespace: Karamasoft.WebControls.UltimateEditor
Assembly: UltimateEditor (in UltimateEditor.dll) Version: 3.7.4186.26618

Syntax

C#
public int IndexOf(
	DropDownItem dropDownItem
)
Visual Basic
Public Function IndexOf ( _
	dropDownItem As DropDownItem _
) As Integer
Visual C++
public:
int IndexOf(
	DropDownItem^ dropDownItem
)

Parameters

dropDownItem
Type: Karamasoft.WebControls.UltimateEditor..::..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