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 Tile |
element | Tile |
A Tile |
#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.