Skip to main content

TileItemFrameCollection.Insert(Int32, TileItemFrame) Method

Adds the specific TileItemFrame into the current TileItemFrameCollection and places it at the desired position.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void Insert(
    int index,
    TileItemFrame item
)

Parameters

Name Type Description
index Int32

An Integer value indicating the newly added TileItem‘s position within the TileItemFrameCollection.

item TileItemFrame

A TileItem to be inserted.

Remarks

A TileItem‘s frame collection can be obtained via the TileItem.Frames property. The TileItemFrameCollection.Add method adds a new tile item frame into a TileItemFrameCollection collection and places it last. Instead, use the Insert method to manually specify the added group’s position. The TileItemFrameCollection.Remove method deletes a specific tile group out of a TileItemFrameCollection.

To add or delete a frame from a tile’s TileItem.Frames collection at design-time, use the Frame Collection Editor. See the Tile Animation topic to learn more.

See Also