TreeViewControl.ImageFieldName Property
Gets or sets the field name in a data source that contains node images. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
String | The field name in a data source. |
Remarks
Set the TreeViewControl.ShowNodeImages property to true to display node images.
To display an image in an individual node, use its TreeListNode.Image property. The image specified by the TreeListNode.Image property overrides the image obtained from a data source (if the ImageFieldName property is specified).
You can implement custom logic to display node images. To do this, use the TreeViewControl.NodeImageSelector property.
See Also