如何在wpf中禁用keybord [英] how to disable keybord in wpf

查看:90
本文介绍了如何在wpf中禁用keybord的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在privew运行时禁用我的整个密钥bord是否有任何代码?

i want to disable my entire key bord when the privew is running is there any code for this?

推荐答案

我认为你不能禁用键盘,如果出现问题你会怎么做?

I don't think you can disable the keyboard, what would you do if something goes wrong???

你可以捕捉按键并在预览时忽略它们。

You could just capture the keystrokes and ignore them while you are in preview.


这篇关于如何在wpf中禁用keybord的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆