Skip to content

SyncfusionExamples/how-to-get-the-node-in-wpf-tree-view-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

How to get the node in WPF TreeView (SfTreeView)?

How to get the node in WPF TreeView (SfTreeView)?

About the sample

In SfTreeView, you can get the node based on the item bound with it using SfTreeView.GetItemInfo method.

var treeViewInfo = sfTreeView.GetItemInfo((this.DataContext as FileManagerViewModel).ImageNodeInfo.FirstOrDefault(x => x.ItemName == "Documents"));
var node = treeViewInfo.Node;

KB article - How to get the node in WPF TreeView (SfTreeView)?

Requirements to run the demo

Visual Studio 2015 and above versions

About

How to get the node in WPF TreeView (SfTreeView)?

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages