阅读背景:

WPF——在文本框外单击时,删除焦点

来源:互联网 

I have some textboxes where I would like focus to behave a little differently than normal for a WPF application. Basically, I would like them to behave more like a textbox behaves on a webpage. That is, if I click anywhere outside of the textbox, it will lose its focus. What is the best way to do so?I have some textboxes where I would like focus




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

分享到: