LayoutGroup.BackgroundImage Property

Gets or sets the group's background image that can be stretched across the group, tiled, centered, etc.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image BackgroundImage { get; set; }

Property Value

Type Default Description
Image

null

An Image object.

Remarks

The image specified by the BackgroundImage property is displayed at the group's bottommost level. The image can be stretched across the group's area, tiled, centered, etc. according to the LayoutGroup.BackgroundImageLayout property. To apply the background image, set the LayoutGroup.BackgroundImageVisible property to true.

A layout group allows an additional image to be displayed in the background, above the BackgroundImage image, creating an image overlapping effect. This image, that is specified by the LayoutGroup.ContentImage property, is displayed "as is" and can be aligned to any group's edge.

See Also