Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutGroup.CaptionImage Property

Use the Image option accessible in CaptionImageOptions to specify the image displayed within the group’s caption area.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Default Description
Image null

A Image object that specifies the group’s caption image.

#Remarks

Use the CaptionImage property to specify the image to display in the group’s caption.

If images are stored in a list (ImageList or ImageCollection), use the LayoutControl.Images property to assign this list to the LayoutControl. Use the the ImageIndex option accessible in LayoutGroup.CaptionImageOptions to assign a specific image from this list to the group.

The ImageIndex property has priority over Image.

The visibility and position of the group’s image are specified by the Visible option accessible in LayoutGroup.CaptionImageOptions and the LayoutGroupCaptionImageOptions.Location property respectively.

See Also