Skip to content

Set styling on DataGrid Header Row? #2965

Answered by David-Moreira
jmoerdyk asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jmoerdyk
Comment options

Answer selected by jmoerdyk
Comment options

You must be logged in to vote
1 reply
@stsrki
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants