All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.v20.2.dll

Declaration

public TreeListNodeImageSelector NodeImageSelector { get; set; }
Public Property NodeImageSelector As TreeListNodeImageSelector

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