property Column.HeaderImage as Long
Retrieves or sets a value indicating the index of an Image in the Images collection, which is displayed to the column's header.

TypeDescription
Long A long expression that indicates the index of icon in the Images collection, that's displayed on the column's header. The last 7 bits in the high significant byte of the long expression indicates the identifier of the skin being used to paint the object. Use the Add method to add new skins to the control. If you need to remove the skin appearance from a part of the control you need to reset the last 7 bits in the high significant byte of the color being applied to the part.

Use the HeaderImage property to add an icon to the column's header. The HeaderImage property does not set the icon for any of the column cells. Use the CellImage property to set an icon for a particular cell. Use the HeaderImageAlignment property to align the icon in the column's header. If the index of the icon in the column's header doesn't exist in the Images collection, no icon is displayed. Use the DisplaySortIcon property to specify whether the control displays the sorting icon when the user sorts a column. Use the Images method to assign a list of icons to the control at runtime. Use the <img> built-in HTML tag to insert multiple custom size picture/icons to the same header.

The following VB sample hides the icon in the column's header:

Grid1.Columns("Editor").HeaderImage = -1

The following C++ sample hides the icon in the header of the first column:

#include "Column.h"
#include "Columns.h"
CColumn column = m_grid.GetColumns().GetItem( COleVariant( long(0) ) );
column.SetHeaderImage( -1 );

The following VB.NET sample hides the icon in the header of the first column:

With AxGrid1.Columns(0)
    .HeaderImage = -1
End With

The following C# sample hides the icon in the header of the first column:

EXGRIDLib.Column column = axGrid1.Columns[0];
column.HeaderImage = -1;

The following VFP sample hides the icon in the header of the first column:

with thisform.Grid1.Columns.Item(0)
	.HeaderImage = -1
endwith