Back to Devexpress

TreeViewControl.ShowNodeImages Property

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-95bee385.md

latest1.8 KB
Original Source

TreeViewControl.ShowNodeImages Property

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

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool ShowNodeImages { get; set; }
vb
Public Property ShowNodeImages As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace