I have a wpf application and I want to set everything to Focusable="false". Is there an easy and elegant way? Currently I made a style for each type of Control I use like this:
<Style TargetType="Button">
<Setter Property="Focusable" Value="False"></Setter>
</Style>
Any idea for a more universan solution?
Why not try a two line solution ?
Also make sure to add this :
Or even shorter, use this :