Skip to main content
All docs
V24.2

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

TreeViewControl.NodeImageSelector Property

Gets or sets a selector that chooses a node image based on custom logic. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public TreeListNodeImageSelector NodeImageSelector { get; set; }

#Property Value

Type Description
DevExpress.Xpf.Grid.TreeListNodeImageSelector

A DevExpress.Xpf.Grid.TreeListNodeImageSelector descendant that chooses a node image based on custom logic.

#Remarks

Set the TreeViewControl.ShowNodeImages property to true to display node images.

Use the TreeViewControl.ImageFieldName property to obtain images from a data source. This property specifies the field name in a data source that contains node images.

The image specified by the TreeListNode.Image property overrides the image obtained from the NodeImageSelector.

See Also