I'm not really sure how you implement your searching logic but the RadTreeView
has a few built-in methods that can be used to bring an item into view based on its Header
content or data context.
I attached a sample solution demonstrating how you can search through the data displayed inside the control as well as how to filter or sort it. The main method used to bring a searched item into view is the RadTreeViewItem.BringIntoView()
method. Another useful method is the RadTreeView.BringPathIntoView()
method described here
. With both approaches you need to set the TextSearch.TextPath
attached property in the RadTreeView
definition to indicate which business property will be used as a path segment while searching through the RadTreeViewItems
"0 0 1 0"
Please take a look at the solution and let me know if it helps or if I'm missing something.
the Telerik team