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.Assign(TileItemElementCollection) Method

Copies the specific element collection to the current TileItemElementCollection.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void Assign(
    TileItemElementCollection src
)

#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.

See Also