How do I make a listview not automatically check an item when I double click it?
I can try hooking into the MouseDoubleClick event, and set the Checked property to false
A simple solution suggested as answer for similar question was just ok for my use:
private bool inhibitAutoCheck;
private void listView1_MouseDown(object sender, MouseEventArgs e) {
inhibitAutoCheck = true;
}
private void listView1_MouseUp(object sender, MouseEventArgs e) {
inhibitAutoCheck = false;
}
private void listView1_ItemCheck(object sender, ItemCheckEventArgs e) {
if (inhibitAutoCheck)
e.NewValue = e.CurrentValue;
}