ToggleButton and TreeView

Hello everybody,

Here is the thing, I’ve got a list of Plugins and a list of Parameters for each of them. So I display them in a TreeView, easy for now. But I want the user to be able to choose multiple parameters in this TreeView by using ToggleButtons, so one ToggleButton by TreeViewItem. That sounds simple but I really can’t figured it out… I already made it with ListBox and I also know I could do it by another way, but for my application this would be the best UI i can provide. If someone could help me that would be great!

Thx.