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

TileItemFrameCollection.IndexOf(TileItemFrame) Method

Returns the position of the specific TileItemFrame within the current TileItemFrameCollection.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public int IndexOf(
    TileItemFrame item
)

Parameters

Name Type Description
item TileItemFrame

A TileItemFrame object whose position within the current collection is to be obtained.

Returns

Type Description
Int32

A zero-based Int32 value specifying the desired frame’s position within the collection. Returns -1 if the frame doesn’t belong to the current collection.

Remarks

Use the TileItem.Frames property to access an item’s frames collection. See the Tile Animation topic to learn more.

See Also