LayoutViewColumn.Image Property

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

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DefaultValue(null)]
public override Image Image { get; set; }
<DefaultValue(Nothing)>
Public Overrides Property Image As Image

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