TileItemElementCollection.Add(TileItemElement) Method
Adds a specific TileItemElement to the current TileItemElementCollection.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public int Add(
TileItemElement element
)
#Parameters
Name | Type | Description |
---|---|---|
element | Tile |
A Tile |
#Returns
Type | Description |
---|---|
Int32 | An Int32 value that is the index of the added Tile |
#Remarks
The Add method adds a specific element to the current elements collection and places it last. To manually specify the position of the element added within the collection, use the TileItemElementCollection.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.