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.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
[DefaultValue(TileControlImageToTextAlignment.Default)]
[DXCategory("Appearance")]
public TileControlImageToTextAlignment ImageToTextAlignment { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Tile |
Default | A Tile |
Available values:
Name | Description |
---|---|
Default | Acts as the Tile |
None | Disables image-to-text grouping. |
Top | Aligns text according to the Tile |
Left | Aligns text according to the Tile |
Right | Aligns text according to the Tile |
Bottom | Aligns text according to the Tile |
#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.