除去控制对焦框盒 [英] Removing the focus frame box from controls

查看:120
本文介绍了除去控制对焦框盒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个WPF应用程序中有各种控件。当我用TAB键控件之间移动,我可以看到对焦框框:

I have a WPF application with various controls in it. When I move between controls using TAB, I can see the focus frame box:

有没有办法隐藏这个框架,所以不会看到?一个WPF的解决方案是preferable但WIN32方法是可以接受的为好。

Is there any way to hide this frame, so it won't be seen? A WPF solution is preferable but a WIN32 method would be acceptable as well.

推荐答案

试试这个

FocusVisualStyle="{x:Null}"

复选框例如

<CheckBox FocusVisualStyle="{x:Null}"/>

这篇关于除去控制对焦框盒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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