Skip to main content

LayoutViewColumn.Image Property

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

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.1.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