TileItem.BackgroundImageScaleMode Property

Gets or sets the appearance TileItem‘s background image.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.2.dll


public TileItemImageScaleMode BackgroundImageScaleMode { get; set; }

Property Value

Type Default Description


A TileItemImageScaleMode enumerator value that specifies the position of the current TileItem‘s background image.

Available values:

Name Description

Acts as the TileItemImageScaleMode.NoScale value.


An image is displayed in its original size and arranged according to the TileItem.ImageAlignment property.


A glyph is stretched in order to fit within the area of a tile item.


A glyph is stretched vertically. Its width remains unchanged.


A glyph is stretched horizontally. Its height remains unchanged.


Zooms an image proportionally so that it’s displayed within the client area in its entirety.


Zooms an image proportionally, allowing its smaller side (width or height) to be displayed in its entirety. The image is centered, so the larger side (height or width) will not be displayed in its entirety.


An image is displayed as is if its actual size is smaller than the size of the container. If the image size is larger than the container’s size, the image is shrunk proportionally to fit the container’s bounds.


The TileItem.BackgroundImage specifies an image used as a tile’s background. The BackgroundImageScaleMode property value specifies the way a background image is stretched inside its parent tile. The TileItem.BackgroundImageAlignment sets the background image alignment mode.

Background image appearance settings, provided via the BackgroundImageScaleMode and TileItem.BackgroundImageAlignment properties, affect both static tiles and tiles with frame animation. They also override corresponding TileControl.ItemBackgroundImageAlignment and TileControl.ItemBackgroundImageScaleMode property values that affect the entire TileControl.

See the Tile Item Structure topic to learn more.

See Also