TileItem.ImageToTextAlignment Property

Gets or sets a tile item's TileItem.Text' position relative to the item's icon. This property is obsolete. Use the TileItemElement.ImageToTextAlignment instead.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
[DefaultValue(TileControlImageToTextAlignment.Default)]
[DXCategory("Appearance")]
public TileControlImageToTextAlignment ImageToTextAlignment { get; set; }
<Browsable(False)>
<DefaultValue(TileControlImageToTextAlignment.Default)>
<DXCategory("Appearance")>
Public Property ImageToTextAlignment As TileControlImageToTextAlignment

Property Value

Type Default Description
TileControlImageToTextAlignment

Default

A TileControlImageToTextAlignment that specifies a tile item's TileItem.Image position relative to the item's TileItem.Text.

Remarks

Since a tile item can have multiple icons provided via the TileItem.Elements collection, the ImageToTextAlignment property groups the image and text of the first collection item only. For this reason, we recommend using the TileItemElement.ImageToTextAlignment property rather than the ImageToTextAlignment property to be able to customize all tile elements.

See Also