WPF Styling of a button
I have this button Style in WPF that I am trying to make https://pastebin.com/xCTrerLg
The problem with this at the moment being that the following states:
When I use
etc, etc.
So now I come here for help, in the hopes of seeing what I did wrong
Additional resources:
ButtonHelper class: https://pastebin.com/9DZ09La9
How I implement the button in the pages:
The problem with this at the moment being that the following states:
Hover, Pressed, and Disabled are not changing their colors appropriately. When I use the Warning class for example, I seem to get the Primary colors on those states, but the Warning color on the base button.When I use
Secondary it changes everything to just the Secondary color, and not the state colors I defined at the top of the file.etc, etc.
So now I come here for help, in the hopes of seeing what I did wrong
Additional resources:
ButtonHelper class: https://pastebin.com/9DZ09La9
How I implement the button in the pages: