Entery key functionality in WPF textbox
-
Hi All, I have a wpf text box in which i am unable to press enter key, if i press its not doing anything,, actually i need if the user press enter button a new line should be inserted but its not happening.. do i need to do that in the Keydown event (finding the key pressed is enter) or is there any other way. Please let me know. Thanks in advance
-
Hi All, I have a wpf text box in which i am unable to press enter key, if i press its not doing anything,, actually i need if the user press enter button a new line should be inserted but its not happening.. do i need to do that in the Keydown event (finding the key pressed is enter) or is there any other way. Please let me know. Thanks in advance
Make sure the AcceptsReturn property of your textbox is set to true.
-
Make sure the AcceptsReturn property of your textbox is set to true.
Thanks Mr Kubajzz for your time and for your help. I didnt set that property when i set that it works fine. Thanks again
-
Thanks Mr Kubajzz for your time and for your help. I didnt set that property when i set that it works fine. Thanks again