Set styling on DataGrid Header Row? #2965
-
How does one set the background color on the Header Row for a DataGrid? I see the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello, Usage Example: |
Beta Was this translation helpful? Give feedback.
-
Is it possible to set the background color to a custom one? Something like #ddffdd or rgba(221, 255, 221, 1) |
Beta Was this translation helpful? Give feedback.
Hello,
It is expecting an object of type
DataGridRowStyling
Usage Example:
HeaderRowStyling="new DataGridRowStyling() { Background = Background.Primary}"
Or just bind a field or property of this same type with the configuration you want.