views:

153

answers:

0

I'm using a ListView in Compact Framework v3.5 that has the Checkboxes property set to true. The behavior I would like is that when an item is activated that the corresponding checkbox is toggled on/off.

Searches through the Compact Framework newsgroups have found multiple postings bemoaning the exact behavior I want; the posters were actually looking to switch off this behavior. But these posts are all several years old, so I can only come to the conclusion Microsoft have changed the behavior in v3.5.

I've tried just about every combination of properties I can think of: FullRowSelect set to both true and false, Activation property set to Standard, OneClick and TwoClick, but all with the same checkbox non-toggling behavior. It is worth noting I have the View property set to Details, as I must constrain the control to scroll vertically, not horizontally.

I also tried to use the ItemActivated event, but it only provides the standard EventArgs object and thus no data about which ListViewItem was actually activated.

I'm not sure what else to try. Am I out of luck?