Click or drag to resize

ToolBarItemCollectionIndexOf Method

Returns the index in the collection of the specified toolbar item.

Namespace:  RootPro.RootProCAD.UI
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract int IndexOf(
	ToolBarItem item
)

Parameters

item
Type: RootPro.RootProCAD.UIToolBarItem
Toolbar item in the collection.

Return Value

Type: Int32
The zero-based index number of the toolbar item in the collection. If there are no toolbar items in the collection, the return value is -1.
See Also