TileItemElement.ImageLocation Property

Gets or sets the TileItemElement's graphic content's position.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll


public Point ImageLocation { get; set; }
Public Property ImageLocation As Point

Property Value

Type Description

A Point structure that is the glyph's position.


The ImageLocation specifies the offset for the image content within the current tile element. If the TileItemElement.ImageAlignment is set to Manual the offset is counted from the tile item's top left corner. Otherwise, the offset is counted from the alignment location. This behavior allows you to align your text block or an image to a predefined position and then slightly move it.

The figure below illustrates a tile item with five TileItemElements. Four of them are arranged at the corners of the parent tile. The fifth one, containing the 'Special Offer' glyph, is manually located using the ImageLocation coordinates:

Tile TextAlignment Manual Example

See Also