Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

SelectedRow color for data bound datagrid

$
0
0

I have a 2 column datagrid which is bound to a list of key value pairs and I've set an AlternatingRowBackground to Gainsboro. So now the grid has while and gray alternating rows. But when I select one of the rows, the text foreground is set to white and the text in the white rows disappears. 

How do I set a background color property for the whole row.


ajaind


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>