TileItemElementCollection.Assign(TileItemElementCollection) Method
Copies the specific element collection to the current TileItemElementCollection.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
src | TileItemElementCollection | A TileItemElementCollection that should be copied to the current TileItemElementCollection. |
Remarks
The Assign method is the easiest way to duplicate a TileItems content. Set the desired origin TileItemElementCollection and it will be entirely copied to the current element collection, including all the content, content settings and appearance of contained TileItemElements.
If you want to copy individual TileItemElements rather than the whole collection, use the TileItemElement.Assign or TileItemElement.AssignWithoutDefault method instead.
A collection of elements used within a TileItem can be accessed via the TileItem.Elements property.