Skip to main content
A newer version of this page is available. .

TreeListView.ImageFieldName Property

Gets or sets the name of the field in a data source that contains node images. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public string ImageFieldName { get; set; }

Property Value

Type Description
String

A String value that specifies the field name.

Remarks

Nodes can display images if the TreeListView.ShowNodeImages property is set to true. Images are obtained from the data source field with long binary data. Its name should be specified using the ImageFieldName property.

TreeListView

To display an image within 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 TreeListView.ImageFieldName property is specified).

See Also