ITileContainerDefaultProperties.ItemBackgroundImageScaleMode Property

Gets or sets the background image stretch mode common to Tiles within the current TileContainer.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

TileItemImageScaleMode? ItemBackgroundImageScaleMode { get; set; }
Property ItemBackgroundImageScaleMode As TileItemImageScaleMode?

Property Value

Type Description
Nullable<TileItemImageScaleMode>

A TileItemImageScaleMode enumerator value that specifies the background image stretch mode common to Tiles within the current TileContainer.

Remarks

A tile's background image is specified via the BaseTile.BackgroundImage property. The ItemBackgroundImageScaleMode property specifies the background image stretch mode common to all Tiles within the current Tile Container. Use the Properties.BackgroundImageScaleMode property to override these default settings for individual Tiles.

Besides the scale mode, you can also specify the background image alignment via the ITileContainerDefaultProperties.ItemBackgroundImageAlignment property.

See Also