I'm currently designing a menu panel with multiple templates using the WinRT-WAML-Toolkit. When I click on the content of a TreeViewItem, the element have the focus and the visual state "Selected" is active.
The problem is that the TreeViewItem's click event only works on the text portion and not the whole TreeViewItemContainer. So, I would like to select an element of the TreeView when I click anywhere on the row.
Is there anyway I can capture the event when it bubble up or tunnel down so the "Selected" state is set?
I have made the sample of my tree view open source : https://github.com/naster01/UWP-Controls-Samples/tree/master/Samples/TreeView_MenuDesign