How i can override Selector="Button:pointerover /template/ ContentPresenter" at runtime? #18037
Unanswered
GamingCity
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Easiest way is to set values via DynamicResource and change this resource |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im setting an template on a AppStyle.axaml for all buttons in the app
But now i have the problem that i want to change the colors based on a manual hex color user input on a specific Button. I can change all regular properties without a problem by code on each button individually, foreground, background, etc. But i have no idea of how to replace the values set here.
Beta Was this translation helpful? Give feedback.
All reactions