Skip to main content
A newer version of this page is available. .

GridColumn.Image Property

Gets or sets an image displayed within the Column Header.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

[Browsable(false)]
[DXCategory("Appearance")]
[DefaultValue(null)]
public virtual Image Image { get; set; }

Property Value

Type Default Description
Image *null*

An image displayed within the column header.

Remarks

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

The image below shows examples of band header and column header images.

ColumnHeader_Images

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Image property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also