添加一个鼠标监听事件:KeyDown,设置e.Handled=true 就可以取消输入
private void Text_KeyDown(object sender, System.Windows.Input.KeyEventArgs e) { //if (e.Key == Key.Tab && (Keyboard.Modifiers & ModifierKeys.Control) == ModifierKeys.Control) if (e.Key == Key.Tab) { e.Handled = false; } else e.Handled = true; }