I have a treeview which contains several sub-groups. When an item in one of these sub-groups is disabled and if the user clicks on the disabled item , instead of not doing anything , the parent of the item gets selected. The behavior i want is just not do anything when a disabled treeviewitem is clicked.
How do I achieve this?
Thanks for any help.