Skip to main content

TileItemFrameCollection.IndexOf(TileItemFrame) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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