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

TileItemElementCollection.Insert(Int32, TileItemElement) Method

Adds a specific TileItemElement to the current TileItemElementCollection and places it at the predefined position.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void Insert(
    int index,
    TileItemElement element
)

#Parameters

Name Type Description
index Int32

An Int32 value that is the position inside the parent TileItemElementCollection a newly added TileItemElement will occupy.

element TileItemElement

A TileItemElement object to be added to the current TileItemElementCollection.

#Remarks

The TileItemElementCollection.Add method adds a specific element to the current elements collection and places it last. To manually specify a position of the element added within the collection, use the Insert method instead. The TileItemElementCollection.Remove method removes a specific element from the parent collection.

A collection of TileItemElements used by the current tile item can be accessed via its TileItem.Elements property.

See Also