TileControl.ItemBackgroundImageAlignment Property

Gets or sets the background image position for all TileItems within the current TileControl.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

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

Property Value

Type Default Description
TileItemContentAlignment

Default

A TileItemContentAlignment enumerator value that specifies the background image position for all TileItems within the current TileControl.

Remarks

Tiles' background image is specified via the TileItem.BackgroundImage property. The ItemBackgroundImageAlignment property specifies the alignment of background images common to all TileItems within the current tile control. Use the TileItem.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 TileControl.ItemBackgroundImageScaleMode property. See the Tile Item Structure topic to learn more.

Implements

DevExpress.XtraEditors.ITileControlProperties.ItemBackgroundImageAlignment
See Also