[]
        
(Showing Draft Content)

C1.Win.C1Command.C1NavBarButton.ButtonCollection.IndexOfID

IndexOfID Method

IndexOfID(int)

Determines the index of the item in the collection with the specified value of the ID property.

Declaration
public int IndexOfID(int id)
Parameters
Type Name Description
int id

The value of the ID property to search for.

Returns
Type Description
int

Index of the button with the specified ID, or -1 if no such button exists.