TreeListNode.Image Property

Gets or sets the node’s image.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.dll


public ImageSource Image { get; set; }

Property Value

Type Description

A ImageSource object that is the image displayed within the node.


To allow display node images, enable the TreeListView.ShowNodeImages option. Node images can be explicitly specified using the Image property or automatically obtained from the field in a data source with long binary data (its name is specified by the TreeListView.ImageFieldName property).



Note the image specified by the Image property overrides an image obtained from a data source (if the TreeListView.ImageFieldName property is specified).

Control images can be automatically substituted for other images based on the app context (the system DPI setting, the application UI culture, paint theme and touch mode availability). See the following topic to learn more: Automatically Choosing Images Based on App Context.

See Also