Example #1
0
 void QueryText_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Return)
     {
         QueryText.GetBindingExpression(TextBox.TextProperty).UpdateSource();
         Query_Click(null, null);
     }
 }