NetXP 3.0 Reference

CommandBarItemCollection.IndexOf Method 

Gets the index of an item.

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

Parameters

item
The item.

Return Value

The index of the item.

See Also

CommandBarItemCollection Class | NETXP.Controls.Bars Namespace