Back to Devexpress

TreeListView.ShowNodeImages Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-156b2de6.md

latest2.4 KB
Original Source

TreeListView.ShowNodeImages Property

Gets or sets whether to display node images or not. 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

TypeDescription
Boolean

true to allow display node images; otherwise, false.

|

Remarks

Nodes can display images. Images can be assigned using the TreeListNode.Image property or obtained from the data source field with long binary data. Its name should be specified using the TreeListView.ImageFieldName property. To allow display images, enable the ShowNodeImages option.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowNodeImages property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-grid-read-only-and-enabled-binding/CS/MainWindow.xaml#L46

xml
NavigationStyle="Cell"
ShowNodeImages="True"
NodeImageSelector="{StaticResource taskImageSelector}"

See Also

ImageFieldName

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace