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.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
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