TileItem.BackgroundImageScaleMode Property

Gets or sets the appearance TileItem's background image.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(TileItemImageScaleMode.Default)]
[DXCategory("Appearance")]
public TileItemImageScaleMode BackgroundImageScaleMode { get; set; }
<DefaultValue(TileItemImageScaleMode.Default)>
<DXCategory("Appearance")>
Public Property BackgroundImageScaleMode As TileItemImageScaleMode

Property Value

Type Default Description
TileItemImageScaleMode

Default

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

Remarks

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.

Implements

DevExpress.XtraEditors.ITileItemProperties.BackgroundImageScaleMode
See Also