Skip to main content

BaseLayoutItem.CaptionImageLocation Property

Gets or sets the relative position of an image within the item’s caption. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public ImageLocation CaptionImageLocation { get; set; }

Property Value

Type Description
ImageLocation

An ImageLocation value that specifies the relative position of an image within the item’s caption.

Available values:

Name Description
Default

The same as the ImageLocation.BeforeText option.

BeforeText

An image is displayed before text.

AfterText

An image is displayed after text.

Remarks

An item allows you to display an image within its caption. To assign the image, use the BaseLayoutItem.CaptionImage property. The CaptionImageLocation property specifies the position of the image relative to the text.

See Also