When creating a WPF application, I would like to change the default value of FocusVisualStyle (black "march ant") to something else, for example, to a blue border. I would like to make this change for each control for the entire application. Is it easier to change the default style for each type of control?
thanks
Unfortunately, there is no easy way to apply style to all controls. The main problem is that by default, WPF allows only one style for each control.
You can get around this, but it requires overriding the styles of all controls.
. : WPF
Source: https://habr.com/ru/post/1725259/More articles:How can I get gtk window window id - gtkUsing ModRewrite to get rid of extensions - url-rewritingvirtual functions in C ++ - c ++Removing "index.html" from url and adding "www" with one 301 redirect - redirectLINQ puts unnecessary trailing spaces on lines - sql-serverComplex flat files in SSIS - importIs anyone developing in the cloud? (Mostly using rdp to access your devenv) - visual-studioSuggest a tool for prototyping the site structure - user-interfaceC # try / catch a nightmare - c #How to block characters in EditText in Android? - androidAll Articles