|
I've a datagrid with 2 DataGridTextBoxColumns. In both I need Enter key to rise event (best suitable would be KeyDown). To do that I need to override IsInputKey method from TextBox which is part of DataGridTextBoxColumn. How to do that? In online documentation I've found such sentense: <i>Certain keys, such as the TAB, RETURN, ESCAPE, and arrow keys are handled by controls automatically. In order to have these keys raise the KeyDown event, you must override the IsInputKey method in each control on your form.</i> Is that meaning that I really have to override IsInputKey for <b>all</b> controls on the form? I've overrided this method for form only, but it has no effect. |