I need to be able to enable or disable the ability to checkmark individual nodes. I tried to do this using the node's enabled state and its allowcell edit state but no luck.
If possible, I would like to still have the ability to expand the node.
thanks
This is not the first request I have seen for this functionality. I tried to put together an IUIElementCreationFilter sample, but it turned out there was a bug in the CheckBoxUIElement class (whereby you could still check it even when disabled by double-clicking) thast I haven't gotten around to fixing yet. You might want to submit a feature request for a property like CheckBoxEnabled off the Override or something like that.
Thanks. I did put in a feature request. (I might have mentioned that you said it was extremently important and should be done ASAP. :-) )
I assume I can get around this by hooking the BeforeCheck event and canceling the check there. Any reason that won't work?
tniec said:I assume I can get around this by hooking the BeforeCheck event and canceling the check there. Any reason that won't work?
Yes, that will prevent the check state from changing.