Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutViewColumn.Image Property

Gets or sets the image displayed within the field’s caption.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

[DefaultValue(null)]
public override Image Image { get; set; }

#Property Value

Type Default Description
Image null

An image displayed within the field’s caption.

#Remarks

It’s possible to assign an image to a field’s caption via either the Image or LayoutViewColumn.ImageIndex property. If both properties are set, the image assigned via the Image property has higher priority.

To dynamically assign images to fields (for instance, depending on a card’s or field’s state), use the LayoutView.CustomFieldCaptionImage event.

See Also