Skip to main content

TileItemCollection.Insert(Int32, TileItem) Method

Inserts new TileItem into the current TileItemCollection and places it at a specific position.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void Insert(
    int index,
    TileItem item
)

Parameters

Name Type Description
index Int32

An Int32 value indicating the position at which the new item should be placed.

item TileItem

A TileItem to be added.

Remarks

A TileGroup‘s items collection can be obtained via the TileGroup.Items property. The TileItemCollection.Add method adds a new tile item into a TileItemCollection collection and places it last. Instead, use the Insert method to manually specify the added group’s position. The TileItemCollection.Remove method deletes a specific tile group from a TileItemCollection.

See Also