In my app there is an multiple line Editor
.
So when I press the Enter
key there is not Complete
event to raise.
I want process the KeyPress
event in XAML, but there is no KeyPress
event can use in XAML.
My app has android and UWP version.
In android because the user can touch the Send button to do the work, so I don't need handle the Keypress event in android.
In UWP because the user will be press the Enter key to do the work, so I need handle the Keypress event in UWP.
I want to use some event which can write in XAML like this:
<Editor KeyPress="SendButton_KeyPress"/>
But I don't know which function or keywords to use.
Some one help me?