Back to Devexpress

BaseLayoutItem.CaptionImageLocation Property

wpf-devexpress-dot-xpf-dot-docking-dot-baselayoutitem-3c4d21dd.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public ImageLocation CaptionImageLocation { get; set; }
vb
Public Property CaptionImageLocation As ImageLocation

Property Value

TypeDescription
ImageLocation

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

|

Available values:

NameDescription
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

CaptionImage

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.Xpf.Docking Namespace