Рассмотрим XAML TextBox в Win Phone 7.
<TextBox x:Name="UserNumber" />
Цель состоит в том, что когда пользователь нажимает кнопку Enter
на экранной клавиатуре, это может вызвать некоторую логику для обновления содержимого на экране.
Я хотел бы иметь событие, специально созданное для Enter
. Возможно ли это?
- Является ли событие специфичным для TextBox, или это событие системной клавиатуры?
- Требуется ли проверка на
Enter
для каждого нажатия клавиши? то есть некоторый аналог ASCII 13? - Какой лучший способ закодировать это требование?