TileItem.ImageAlignment Property

Gets or sets the current TileItem's icon position.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll


public TileItemContentAlignment ImageAlignment { get; set; }
Public Property ImageAlignment As TileItemContentAlignment

Property Value

Type Default Description


A TileItemContentAlignment enumerator value that specifies the current TileItem's icon position.


The TileItem.Image property specifies an image used as a tile's icon. Depending on the ImageAlignment property value, the icon can have one of nine predefined positions. The TileItem.ImageScaleMode sets the icon's scale options.

Icon appearance settings, provided via the ImageAlignment and TileItem.ImageScaleMode properties, affect both static tiles and tiles with frame animation.

Since a tile item can have multiple icons provided via the TileItem.Elements collection, the ImageAlignment property affects an image in the first collection item only. To specify other elements' image alignment, use the TileItemElement.ImageAlignment property instead.

See the Tile Item Structure topic to learn more.

See Also