Replies: 1 comment 3 replies
-
https://learn.microsoft.com/en-us/dotnet/desktop/wpf/properties/dependency-property-value-precedence states that implicit style has precedence over style setter value. Local value has precedence over implicit style. That seems to describe what is happening, or did I get something wrong? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to figure out why a custom
DataGridColumnHeader
style will not be applied when a default header style is also present. Any help is appreciated.Per the example below, when I apply the
DataGridTallStyle
to aDataGrid
, theDataGridColumnHeaderTallStyle
is not applied.If
DataGridColumnHeaderTallStyle
is applied directly to theDataGrid
it works as expected. The same situation with rows works in all cases.See the attached project for a repo.
Thanks
WpfDataGridColumnHeaderRepo.zip
Beta Was this translation helpful? Give feedback.
All reactions