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

How to set color of DataGridRow if it has same specific values in some of columns ?

$
0
0

Hello

DataGrid has columns from DataTable: 

myDataGrid.ItemsSource = dataTable.AsDataView();            

I want have color row in DataRow if 5 of 7 columns on load dataTable has specific value. And every one of this 5 is next to "cell" with that value.

What is the best way to do this?

Best Regards

Przemysław Staniszewski


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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