TileItemFrameCollection.IndexOf(TileItemFrame) Method
In This Article
Returns the position of the specific TileItemFrame within the current TileItemFrameCollection.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public int IndexOf(
TileItemFrame item
)
#Parameters
Name | Type | Description |
---|---|---|
item | Tile |
A Tile |
#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