开发者

Are all WPF controls FOCUSable?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜