开发者

WPF - Is there a way to cause a UI element to lose focus without changing the focus to something else?

开发者 https://www.devze.com 2022-12-27 13:38 出处:网络
I would like to add an IsFocu开发者_如何学运维sed property to a custom textbox that I am working on, is there any way to do this?Unless I\'m mistaken something always has to be in focus. That being sa

I would like to add an IsFocu开发者_如何学运维sed property to a custom textbox that I am working on, is there any way to do this?


Unless I'm mistaken something always has to be in focus. That being said you can Focus to a label or some non-editable/non-selectable element if you need. Or you can focus another application.

In general, however, something is always in focus.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号