Skip to main content
All docs

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.v22.1.dll


public TreeListNodeImageSelector NodeImageSelector { get; set; }

Property Value

Type Description

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


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