单击用户控件时如何防止窃取焦点? [英] How to prevent stealing focus when clicking on a usercontrol?

查看:56
本文介绍了单击用户控件时如何防止窃取焦点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够单击我的用户控件,而不希望它从其他任何控件中夺取焦点.我知道当您单击标签时,它不会失去焦点.如何才能做到这一点?

I want to be able to click on my user control and not have it steal focus from any other control. I know when you click on a label it doesn't steal focus. How can this be done?

推荐答案

尝试禁用控件的 查看全文

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