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

Declaration

public string ImageFieldName { get; set; }
Public Property ImageFieldName As String

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