开发者

Are all WPF controls FOCUSable?

开发者 https://www.devze.com 2023-01-12 03:56 出处:网络
Are there any default exceptions where wpf controls are not focusable? My controls need to be all focusable, but I do not want to set everytim开发者_运维问答e I create a control

Are there any default exceptions where wpf controls are not focusable?

My controls need to be all focusable, but I do not want to set everytim开发者_运维问答e I create a control

make focusable="true"


In general, WPF controls work as expected with regards to being focusable or not. Things you can interact with such as button, list/items controls, textbox are all focusable. Non-interactive controls like TextBlock, Image are non-focusable. So normally, you don't have to deal with setting the value of the Focusable property. I'm not sure if this is what you're looking for but I hope this helps.

0

精彩评论

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

关注公众号