KeyBinding gesture “Ctrl+1” in RichTextBox doesn't work

三世轮回 提交于 2019-12-05 20:16:46
Andy

It looks like the RichTextBox already defines a binding for a command using Ctrl+1 ("ApplySingleSpace"). Therefore it is likely handling the command and not letting it route up to the Window.

You might be able to work around this by adding an InputBinding to the RichTextBox, but since you'd also need it on the Window for when other controls are in focus, that's not a very good solution.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!