Method GetItemIndex
GetItemIndex(IToolBarItem?)
Gets the index of the specified toolbar item.
public virtual int GetItemIndex(SimpleToolBarView.IToolBarItem? item)
Parameters
itemSimpleToolBarView.IToolBarItemThe toolbar item to find.
Returns
- int
The zero-based index of the toolbar item if found; otherwise, -1.