How to apply my style? #534
Unanswered
PavlikBender
asked this question in
Q&A
Replies: 1 comment
-
For ui:Button in sources I found style "DefaultUiButtonStyle" .
For specific control I need to find control style and override it with BasedOn="{StaticResource StyleName}". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't understand how to apply style on controls.
For example I want style where ui:Button has Appearance="Danger". I've created style and then I try to use it. But it doesn't works - control resets default wpf-ui style.
My XAML example:
Result:
How I understand this approach to apply style doesn't work with all wpf-ui controls. How to do it properly?
Beta Was this translation helpful? Give feedback.
All reactions