How to override a global style (that doesn't have an x:Key), or alternatively apply a named style to all type-targeted controls?

前端 未结 3 707
遇见更好的自我
遇见更好的自我 2021-01-31 07:45

I declared a style that I want to apply to ALL the buttons in the project, the style resides in the ResourceDictionary:


I have declared my base styles in a ResourceDictionary in App.xaml, if i override them in a specific window like this, it usually works.

提交回复
热议问题