Skip to main content
A newer version of this page is available. .

LayoutGroup.CaptionImageLocation Property

Gets or sets the relative position of an image within the group caption.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v19.1.dll

Declaration

[Browsable(false)]
[DefaultValue(GroupElementLocation.Default)]
[XtraSerializableProperty]
[DXCategory("Appearance")]
public GroupElementLocation CaptionImageLocation { get; set; }

Property Value

Type Default Description
GroupElementLocation **Default**

A GroupElementLocation value that specifies the image’s position.

Available values:

Name Description
Default

Specifies the default position of an element relative to a text label. Currently, the Default option is equivalent to the BeforeText option.

BeforeText

Displays an element before a text label.

AfterText

Displays an element after a text label.

Remarks

A layout group allows you to display an image within the group’s caption. To assign images use the LayoutGroup.CaptionImage or LayoutGroup.CaptionImageIndex property. The CaptionImageLocation property specifies the relative position of the image.

The CaptionImageLocation property is not in effect when a LayoutGroup is displayed as a tab page within a Tabbed Group.

See Also