阅读背景:

如何将“关闭退出键按下”行为分配给项目中的所有WPF窗口?

来源:互联网 

Is there any straightforward way of telling the whole WPF application to react to Escape key presses by attempting to close the currently focused widow? It is not a great bother to manually setup the command- and input bindings but I wonder if repeating this XAML in all windows is the most elegant approach?Is there any straightforward way of telling the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: