Set the selection mode to SingleSelection and set the ItemIsSelectable flag for top level items only. Clear that flag for the remaining items.
Your code snippet had nothing to do with items being selectable. It is related to making items checkable.
Set the selection mode to SingleSelection and set the ItemIsSelectable flag for top level items only. Clear that flag for the remaining items.
Your code snippet had nothing to do with items being selectable. It is related to making items checkable.
Kryzon (5th March 2015)
Bookmarks