TreeListNode.Image Property
Gets or sets the node’s image.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
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).
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.