RadMaskedTextInput expands into second row upon Return

3 posts, 0 answers
  1. Clemens
    Clemens avatar
    3 posts
    Member since:
    Aug 2017

    Posted 28 Oct Link to this post

    Hello!

    I'm using "UI for WPF R2 2017".

    If, in the RadMaskedTextInput, I hit the "Return" button the control expands onto a second line, and of course I want to prohibit this.

    Please see the Before and After jpegs.

    Thanks,
    Mark

     

  2. Clemens
    Clemens avatar
    3 posts
    Member since:
    Aug 2017

    Posted 29 Oct in reply to Clemens Link to this post

    I haven't yet found the option so I just put in a quick event-handler:

    MaskedTextInput_OnPreviewKeyDown

    and Handle Key.Return.

  3. Clemens
    Clemens avatar
    3 posts
    Member since:
    Aug 2017

    Posted 30 Oct in reply to Clemens Link to this post

    AcceptsReturn="False" is the answer.
Back to Top