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.v25.1.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.