Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 everytime I create a control

make focusable="true"
like image 427
Panella Avatar asked Oct 24 '25 23:10

Panella


1 Answers

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.

like image 108
ASanch Avatar answered Oct 26 '25 20:10

ASanch