TileItem.BackgroundImageAlignment Property

Gets or sets the current TileItem's background image position.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

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

Property Value

Type Default Description
TileItemContentAlignment

Default

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

Remarks

The TileItem.BackgroundImage specifies an image used as a tile's background. Depending on the BackgroundImageAlignment property value, the image can have one of nine pre-defined positions. The TileItem.BackgroundImageScaleMode sets the background scale options.

Background image appearance settings, provided via the BackgroundImageAlignment and TileItem.BackgroundImageScaleMode properties, affect both static tiles and tiles with frame animation.

See the Tile Item Structure topic to learn more.

Implements

DevExpress.XtraEditors.ITileItemProperties.BackgroundImageAlignment
See Also