Consider a XAML TextBox in Win Phone 7.
The goal here is that when the user presses the Enter
Enter
A straight forward approach for this in a textbox is
private void textBox1_KeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Enter) { Debug.WriteLine("Enter"); } }