This is a migrated thread and some comments may be shown as answers.

RadMaskedTextInput expands into second row upon Return

2 Answers 62 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Clemens
Top achievements
Rank 1
Clemens asked on 28 Oct 2017, 06:28 PM

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 Answers, 1 is accepted

Sort by
0
Clemens
Top achievements
Rank 1
answered on 29 Oct 2017, 08:04 PM

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

MaskedTextInput_OnPreviewKeyDown

and Handle Key.Return.

0
Clemens
Top achievements
Rank 1
answered on 30 Oct 2017, 07:18 PM
AcceptsReturn="False" is the answer.
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Clemens
Top achievements
Rank 1
Answers by
Clemens
Top achievements
Rank 1
Share this question
or