I have several buttons in my WPF Window. How can I target all buttons inside the window regardless if they are inside Stack panels or Dock Panels. I want to target all of them to be able to change the background color of all of them through settings.
Rather than targeting each individual name of the button, is there another method?