Back to Devexpress

LayoutGroup.CaptionImage Property

windowsforms-devexpress-dot-xtralayout-dot-layoutgroup-dcce81d8.md

latest2.5 KB
Original Source

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.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image CaptionImage { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DefaultValue(Nothing)>
<DXCategory("Appearance")>
Public Property CaptionImage As Image

Property Value

TypeDefaultDescription
Imagenull

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

LayoutGroup Class

LayoutGroup Members

DevExpress.XtraLayout Namespace