I was wondering, what will be the best way to override the Tree View s mouse click? As you know when you double click a tree view parent, then the tree view expands and shows the children. If it doesn t have any children then it doesn t do anything. but if it is already expanded, it will the collapse.
I want to take the tree view, and when you double click the children, it will bind to some sort of command.
So basically, i would like to keep the functionality of the parent, where you double click and it expands or collapses, but when you double click the Child, it will execute a certain command..
I am using XAML and C#.