Search Results

Search found 1 results on 1 pages for 'm1dst'.

Page 1/1 | 1 

  • WPF Keyboard Remapping

    - by m1dst
    Hello, I am trying to remap the input of a textbox. For example. If a user enters a N then I would like to change it to a 9. I thought it might be best to try and catch it in the PreviewKeyDown event although I will also need to process paste attempts (I can solve that bit I think). Is PreviewKeyDown a good place to start? If so, how do I send the replacement key. I know that e.Handled = true will stop the original key being processed. Thanks.

    Read the article

1