Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I used the article (Searchable WPF TreeView[^]) to develop a WPF Treeview but unable to find a way to handle the doubleclick on a Treenode. Anyone have any examples on how to do this?

What I have tried:

Reference article at
https://www.codeproject.com/Articles/718022/Searchable-WPF-TreeView?msg=5649602#xx5649602xx">Searchable WPF TreeView</a>[<a href="https://www.codeproject.com/Articles/718022/Searchable-WPF-TreeView?msg=5649602#xx5649602xx
Posted
Updated 5-Aug-19 13:59pm
Comments
BillWoodruff 6-Aug-19 13:05pm    
Open the article source code, search how mouse events for a TreeNode are defined now, then, add similar code for double-click.
Chuck Salerno 6-Aug-19 13:30pm    
There aren't any mouse events defined.
BillWoodruff 6-Aug-19 21:47pm    
There are some. Look for Routed Events.

1 solution

Please post your question in the forum at the end of the article so the author can advise you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900