A newer version of this page is available. Switch to the current version.

ITileContainerDefaultProperties.ItemBackgroundImageAlignment Property

Gets or sets the background image position for all Tiles within the current TileContainer.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

TileItemContentAlignment? ItemBackgroundImageAlignment { get; set; }
Property ItemBackgroundImageAlignment As TileItemContentAlignment?

Property Value

Type Description
Nullable<TileItemContentAlignment>

A TileItemContentAlignment enumerator value that specifies the background image position for all Tiles within the current TileContainer.

Remarks

A Tile's background image is specified via the BaseTile.BackgroundImage property. The ItemBackgroundImageAlignment property specifies the alignment of background images common to all Tiles within the current Tile Container. Use the Properties.BackgroundImageAlignment property to override these default settings for individual Tiles.

Besides the alignment, you can also specify the background image's stretch mode via the ITileContainerDefaultProperties.ItemBackgroundImageScaleMode property.

See Also