Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListNode.Image Property

Gets or sets the node’s image.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#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