Back to Devexpress

GridColumn.Image Property

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-gridcolumn-8777c75c.md

latest1.9 KB
Original Source

GridColumn.Image Property

Use settings of the GridColumn.ImageOptions property to get or set a column header image.

Namespace : DevExpress.XtraGrid.Columns

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual Image Image { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Overridable Property Image As Image

Property Value

TypeDefaultDescription
Imagenull

An image displayed within the column header.

|

Remarks

Use the GridColumn.ImageOptions.Image or GridColumn.ImageOptions.ImageIndex property to assign an image to a column header. If both properties are set, the image assigned by the Image property has higher priority.

The following image shows examples of band header and column header images:

See Also

GridColumn Class

GridColumn Members

DevExpress.XtraGrid.Columns Namespace