Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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