Skip to main content
All docs
V22.1

TreeViewControl.ShowNodeImages Property

Gets or sets whether to display node images. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.1.dll

Declaration

public bool ShowNodeImages { get; set; }

Property Value

Type Default Description
Boolean

false

true to display node images; otherwise, false.

Remarks

Nodes can display images. To assign an image to an individual node, use its TreeListNode.Image property. 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.

You can implement custom logic to display node images. To do this, use the TreeViewControl.NodeImageSelector property.

Specify the TreeViewControl.NodeImageSize property to change the size of node images.

See Also