I’ve got some windows with mainly comboboxes, textboxes, and checkboxes. When you click on one to get focus I need a way to have them be outlined with a colorful box (boss’ orders). Is there a way to do this easier than overriding the default style of all of these controls? I’ve never done that before, so it would take a lot of mucking around on my part to figure it out.
I’ve got some windows with mainly comboboxes, textboxes, and checkboxes. When you click on
Share
You can try adding a FocusVisualStyle to the Controls that need different focus rectangle styles.
From above link
Something like this in your Window’s Xaml
or your Application.Xaml file.
Usage:
If you want the Focus rectangle to change for every type of focus event Microsoft states that:
Give this a shot it works for a TextBox haven’t checked your other Controls