I have nested group groups that logically represent nested data structures in my application. Say I have a structure like this:
Dev1
- CDev1
- CDev2
- ICDev1
- ICDev2
I have checkboxes to enable / disable each of these Dev. I want to bind the CheckState flag of a child to the parent CheckState flag. I want the mechanism to work as follows: When I test CDev2, ICDev1 and ICDev2 are automatically checked. But when I turn off ICDev1, CDev2 will remain in its own state. Basically, I want these events to apply to children, but not to the parent, as one-way binding.
I am using .Net 2.0 SP2. I donβt know if this is possible or not, so I would be glad if you showed me some directions about it. If this is not possible, I am going to implement event handlers for all flags.
source
share