TileItem.BackgroundImageScaleMode Property

Gets or sets the appearance TileItem's background image.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll


public TileItemImageScaleMode BackgroundImageScaleMode { get; set; }
Public Property BackgroundImageScaleMode As TileItemImageScaleMode

Property Value

Type Default Description


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


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