Skip to main content

TileItemCollection.IndexOf(TileItem) Method

Gets the position of the specified TileItem in the current item collection.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public int IndexOf(
    TileItem item
)

Parameters

Name Type Description
item TileItem

A TileItem whose index is to be obtained.

Returns

Type Description
Int32

A zero-based Int32 value that is the index of the TileItem in the current item collection.

Remarks

The IndexOf method returns the position of the specified TileItem in the current item collection. If the item does not belong to the collection, the method returns -1.

See Also