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

TreeListNode.Image Property

Gets or sets the node’s image.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.dll

Declaration

public ImageSource Image { get; set; }

Property Value

Type Description
ImageSource

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

Remarks

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).

Node

Note

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