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

TileItemElement.Assign(TileItemElement) Method

Copies the content and content settings of the specific TileItemElement to the current one.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual void Assign(
    TileItemElement src
)

#Parameters

Name Type Description
src TileItemElement

A TileItemElement whose content and settings should be copied to the current element.

#Remarks

The Assign method copies the text (TileItemElement.Text) and glyph (TileItemElement.Image) of the target TileItemElement to the current one. Content appearance settings, such as the TileItemElement.TextAlignment, TileItemElement.ImageAlignment, TileItemElement.ImageToTextAlignment and TileItemElement.ImageScaleMode properties values are copied as well.

Use the TileItemElement.AssignWithoutDefault method instead to manually set which content type (text or image) should be copied.

See Also