Hi!
What would be best way to allow only one TreeViewItem to be checked at a time per Node? Or even better only one item checked in whole TreeView at a time. When new item is checked the previous would be unchecked first. I know it's possible to make it in code-behind but I'm trying to find the best solution for implementing it.
Something like first unchecking whole treeview in PreviewChecked event and then checking the new item (or would it be enough to just uncheck everything)?
Thanks!
Br,
Kalle
What would be best way to allow only one TreeViewItem to be checked at a time per Node? Or even better only one item checked in whole TreeView at a time. When new item is checked the previous would be unchecked first. I know it's possible to make it in code-behind but I'm trying to find the best solution for implementing it.
Something like first unchecking whole treeview in PreviewChecked event and then checking the new item (or would it be enough to just uncheck everything)?
Thanks!
Br,
Kalle