UltimateEditor Class Library

Toolbar.IndexOf Method 

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

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

Parameters

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

Toolbar Class | Karamasoft.WebControls.UltimateEditor Namespace