Handling RadButton return key press

2 posts, 0 answers
  1. Brian Scott
    Brian Scott avatar
    11 posts
    Member since:
    Dec 2009

    Posted 21 Jan 2011 Link to this post

    I am currently trying to handle the return key press for a RadButton control via the PreviewKeyDown event but am unable to. I can successfully handle other keystrokes, such as function keys, however the event is not raised when the return key is pressed. I can only assume that this is because the return key is seen as an access key and so handled elsewhere. Is there a way to turn this off or bypass it so that I can handle the return key for myself?
  2. Brian Scott
    Brian Scott avatar
    11 posts
    Member since:
    Dec 2009

    Posted 21 Jan 2011 Link to this post

    Sorry, my mistake. I was handling the return key press further up the visual tree.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top