TileNavButtonCollection.IndexOf(ITileNavButton) Method
In This Article
Returns the index of a specific ITileNavButton in the TileNavButtonCollection.
Namespace: DevExpress.XtraBars.Navigation
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
button | ITile |
The ITile |
#Returns
Type | Description |
---|---|
Int32 | The index of button if found in the collection; otherwise, -1; |
#Remarks
If an object occurs multiple times in the collection, the IndexOf method returns the first instance found.
See Also