TreeListColumn.ImageIndex Property

Gets or sets the index of the image from the TreeList.ColumnsImageList collection displayed in the column header.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll


public int ImageIndex { get; set; }
Public Property ImageIndex As Integer

Property Value

Type Default Description


An integer value specifying the image by its zero-based index in the source collection. -1 to not display an image.


To display images within column headers, first assign an image list to the TreeList.ColumnsImageList property. Then use a column's ImageIndex property to assign the index of the required image within this list.

You can also use the TreeListColumn.Image property to provide the column header image.

See Also