Skip to main content

GroupControl.CaptionImageLocation Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[Browsable(false)]
[DefaultValue(GroupElementLocation.Default)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
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 group allows an image to be displayed within the group’s caption. To assign an image, use the GroupControl.CaptionImage property. The CaptionImageLocation property specifies the relative position of the image.

See Also