LayoutGroup.ContentImage Property

Gets or sets the group's background image that is displayed "as is", and can be aligned to any group's edge.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll


public Image ContentImage { get; set; }

Property Value

Type Default Description


An Image object.


A layout group supports two background images that are specified by the LayoutGroup.BackgroundImage and ContentImage properties. These images overlap, and this allows you to create specific painting effects.

The image assigned to the LayoutGroup.BackgroundImage is displayed at the group's bottommost level. It can be stretched across the group's area, tiled, centered, etc. Its layout is specified by the LayoutGroup.BackgroundImageLayout property.

The image assigned to the ContentImage property is displayed above the LayoutGroup.BackgroundImage image. Use the LayoutGroup.ContentImageAlignment property to set the image's alignment within the group.

See Also