Can I disable keyboard input to a specific control?
Is it possible to disable keyboard input to a control? For instance a ListView ? How do I do that? I've tried overriding the KeyUp KeyDown events but apparently that was not the way? IsEnabled is a good solution, however I only wish to disable keyboard interaction and leave mouse interaction intact. John Myczek Handling the KeyDown event is too late, but you can handle the PreviewKeyDown event and that should give you the behavior you are looking for: private void MyListBox_PreviewKeyDown(object sender, KeyEventArgs e) { e.Handled = true; } Dear maciek, the only thig you need to do is using