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.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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.