Skip to main content
A newer version of this page is available. .

TileItemCollection.IndexOf(TileItem) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

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