Returns the zero-based index of the first occurrence of a toolbar item in the Toolbar.

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

Syntax

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

Parameters

toolbarItem
Type: Karamasoft.WebControls.UltimateEditor..::..ToolbarItem
The toolbar item to locate in the Toolbar.

Return Value

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

See Also